$24
Write the classic guess the number I am thinking, in Haskell, using the IO monad.
You will need to
generate (or read) a random number (between 1 and 10, say)
ask for a guess
input a string from the user
convert this string into an Int.
output if the guess was too high, too low, or correct.
Re-ask until the question is correctly answered.
Hand in your Haskell code, and your test cases. You need test cases. (This can be one piece of paper, if you wish).
Remember to add the cover sheet
http://ku-fpg.github.io/workbook/EECS_368/
1