Need to design a program wherein when the human enters an integer, the computer should return an integer in the reversed manner. Write a program to calculate the reverse of the given number.
Answers
Answered by
0
Answer:
its a python program
Explanation:
num=int(input("enter the integer"))
rev=0
while num!=0:
rem=num%10
rev=rev*10+rem
num=num//10
print("reversed number is",rev)
#HOPE IT HELPS YOU
PLEASE MARK BRAINLIEST
Similar questions