# [racket] Exercise 5.1.3 HTDP

 From: Stephen Bloch (sbloch at adelphi.edu) Date: Mon Jan 31 06:33:43 EST 2011 Previous message: [racket] Exercise 5.1.3 HTDP Next message: [racket] overlay and overlay/xy Messages sorted by: [date] [thread] [subject] [author]

```On Jan 30, 2011, at 4:05 PM, Jeremy Duenas wrote:

> check-guess3 consumes three digits and a number. The first digit is
> the least significant, the third one is the most significant.
>
> What number is determined by the 3 digits? If the 3 digits were 1 2
> and 3, does it mean that the number would then be 123?
>
No, it means that the number would be 321.
> If that is the case how do you go about doing that? Because the
> initial set I thought would look like
>
>                                                   (define (check-
> guess3 a b c target)
>
> but then it say depending on how guess relates to target, so it
> should still look like
>
>                                                  (define (check-
> guess3 guess target)
>
No, the assignment says check-guess3 takes in three digits and a
number.  Figuring out guess from a, b, and c is part of your job.

Stephen Bloch