14W-CF 02082011 Campos,Tyler HW4 18

14W-CF 02082011 Campos,Tyler HW4 18

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Scholar: HW4 Problem 1 Problem : Consider a computer number guessing game suitable for middle-school children. The program generates a random integer between 1 and 1000 which the user must guess exactly. The user continues to guess until correct. The program will respond to incorrect guesses by telling the user if his/her guess was too high or too low, then asking
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: the user to guess again. The program will keep track of the total number of guesses made and report that at the end of the program. Diagram : NA Solution : Flow Chart 14W-CF 02/08/2011 Campos,Tyler HW4 1/8 Wednesday, February 02, 2011 2:06 AM HW4 Page 1...
View Full Document

Ask a homework question - tutors are online