Computer Science, asked by nandini3841, 1 year ago

write a program to take a 3digit number as input and print its reversed number in computer science

Answers

Answered by loveguru38
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