(Solved):You are required to write a simple C++ program that adheres to the following: Your program plays a game as follows (called the number’s game): a. Prompt the user for a 3-digit number, where the fir… View Answer…

 

Question

You are required to write a simple C++ program that adheres to the following:

Your program plays a game as follows (called the number’s game):

a. Prompt the user for a 3-digit number, where the first and the last digit must differ by at least 2.

b. Print out the user number and its reverse.

c. Print out the difference between the entered number and the reversed number. This should always be a positive

Scroll to top