ayaanjaved07 / htdp-excercises

0 stars 0 forks source link

Fixed Sized Data, exercise 7 #3

Open nbl-natsoft opened 3 months ago

nbl-natsoft commented 3 months ago

You have misunderstood the question. Let me rephrase it as such: Define a function can-i-go-today that takes 2 arguments sunny and friday, the function returns #true if either 'sunny' is false or 'friday' is true, otherwise the function returns #false Note: 'sunny' and 'friday' are booleans

nbl-natsoft commented 3 months ago

Also fix exercise15 (it actually asks to make the function I describe above), name the function '==>' (it's a valid name in Racket)

ayaanjaved07 commented 3 months ago

You have misunderstood the question. Let me rephrase it as such: Define a function can-i-go-today that takes 2 arguments sunny and friday, the function returns #true if either 'sunny' is false or 'friday' is true, otherwise the function returns #false Note: 'sunny' and 'friday' are booleans

question says to define an expression, can define function but not told to do that

ayaanjaved07 commented 3 months ago

image