Unformatted text preview: end if getnum < cnum disp ('That is too low'); elseif getnum > cnum disp ('That is too high'); else disp ('Correct!'); break end r = input('Do you want to guess again yes or no? ', 's'); end if getnum ~= cnum fprintf ('You lose! The letter was %s.', cnum) end...
View Full Document
This note was uploaded on 05/01/2011 for the course HCSC 110 taught by Professor Amosjohnson during the Spring '11 term at Morehouse.
- Spring '11