Question: Part#2 1. Write a C++ program to read from the user an integer number of 4 digits and display it in reverse order. For example,

 Part#2 1. Write a C++ program to read from the user

Part#2 1. Write a C++ program to read from the user an integer number of 4 digits and display it in reverse order. For example, if the input is 5723 the output should be 3275. (Hint use / and %). The program should display Invalid input if the input value is not a 4 digits number. 2. Write a C++ program to read from the user three integer values. The program should display the three values in ascending order. (Do not use arrays). For example: if the three input values are: 56 30 45 the output should be: 30 45 56

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!