Haskell Must Be Used For Guessnum Guessnum Is Required To Guess A Number Between

Haskell must be used for guessNum. guessNum is required to guess a number between 1-99, every time the program make a wrong guess, the system will show a feedback as either “too big” or “too small”. guessNum must use the feedback to automatically generate the next reasonable guess, until the correct number is guessed.

For example, if the target number is 57 and your initial guess is 30, the output will look something like:

Your guess: 30

Feedback: too small

Your guess: 70

Feedback: too big

Your guess: 50

Feedback: too small

Your guess: 57

Feedback: Congratulations! You got the number 57

Prof. Angela


Calculate Price

Price (USD)
Open chat