22-245-10E Program 4. Random Number Guessing Game Write a program that generates a random number between 1 and 100 and a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
22-245-10E Program 4. Random Number Guessing Game Write a program that generates a random number between 1 and 100 and a
statement, your name, date and working source code Pay attention to the deadline for each Homework assignment. Grading for Each assignments is Based on following requirements clearly stated as follow: a. Top of each Program you have your Name: Indicated that this is your work b. Next line is indicating the date you are submitting your program. (1 point) (1 point) (1 point c. Next line you will write a brief explanation for what this program intend to do. d. Use of sufficient comments to clarify use of syntax (1 point) (1 point) e. Use of meaningful variable (identifier) in your program 1. Separate input, process, and output instructions by a comment (to Process Out (1 point) Working program without any error (3 points) h. Tur in on time (1 point deducted for each day late submission (1 point) 4 Submit only.cpp (source code of your program). Do not submit zip file .sin file, input and output file
22-245-10E Program 4. Random Number Guessing Game Write a program that generates a random number between 1 and 100 and asks the user to guess what the number is. If the user's guess is higher than the random number, the program should display "Too high. Try again." If the user's guess is lower than the random number, the program should display "Too low. Try again." The program should use a loop that repeats until the user correctly guesses the random number. Then the program should display "Congratulations. You figured out my number." For This assignment, submit .cpp (source code) of your program. Or copy .cpp paste it to a text editor (word or note pad) and send it for grading. NO ZIP FILE NO SLN file include Problem