Write a C++ Program that will give a user the chance to guess the last three (3) digits of your Student
Number. The user should enter a number between 0 and 999.
The program:
a. will tell the user whether the number entered is higher or lower than the correct number.
b. should keep a running total of the number of guesses.
c. should run until either the user guesses the number or the user gives up. If the user gives up, the
program shows the correct number.
d. In any case, it should also show the number of guesses.
e. Should tell the user when the number has been guessed.
Validate your input using loops.

In C++