This preview shows page 1. Sign up to view the full content.
Unformatted text preview: else disp ('Correct!'); break end fprintf ('You have %d times left to guess the number ', i-1); end if getnum ~= num fprintf ('You lose! The number was %d.\n',num); 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