Thomas Atul Panda if youre trying to literally reverse the number:
rem = t%10;
t = t/10;
rev = rem + t //rev is initialized as 0 so you cant use (rev*10) or you’ll get 0.
with this if I use 17 for example I get 71 for reverse. I used 37 and it didn’t work but don’t know why 🤷🏾♂️