[racket] Exercise 5.1.3 HTDP

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Mon Jan 31 06:33:43 EST 2011

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.
>
Read those sentences again.
> 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
sbloch at adelphi.edu



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110131/df834767/attachment.html>

Posted on the users mailing list.