Question: In c++ prog. Problem 1 Input an integer N of three digits. Create a new integer R which is the reverse of N. Output R.
Problem 1 Input an integer N of three digits. Create a new integer R which is the reverse of N. Output R. Hint: First separate the three digits of N and then find the formula to calculate R. Sample input/output: Enter a number: 654 Enter a number: 740 Reverse of 654456 Reverse of 74047
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
