write a program to take a 3digit number as input and print its reversed number in computer science
Answers
Answered by
0
Answer:
HERE YOUR ANSWER PLZ FOLLOW ME
Declare the int into num1, num2 and num3 along witht the output, reverse.
Ask the user to enter a number to reverse.
Store the number using scanf.
Get the last digit of the number , num1= n/100.
Get the middle digit from the user, num2=(num%100)/10.
To get the last digit from the user, num3=(num%10)/100.
Similar questions
Math,
6 months ago
Social Sciences,
6 months ago
Social Sciences,
1 year ago
History,
1 year ago
Science,
1 year ago