Question: C++ Pointers and Arrays are NOT allowed. 2. Guessing a Number Game Create a program that generates a random number between 0 and 100. The
C++
Pointers and Arrays are NOT allowed.

2. Guessing a Number Game Create a program that generates a random number between 0 and 100. The program then asks the user to guess the number. If the user's guess is correct, the program congratulates the user and exits. Otherwise, the program tells the user whether the guess is too high or too low, and it lets the user guess again until the user provides the correct answer. Here are sample outputs of the program: Enter your guess: 6 Your guess is too low. Enter your guess: 15 Your guess is too high. Enter your guess: 11 Your guess is too high. Enter your guess: 10 Congratulations! 10 is the correct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
