The steps to reverse a number is given below:
Step 1 Start
step 2 Read a number n
Step 3 a=n/1000
step 4 calculate b=(n%1000)/100
step 5 calculate c= (n%100)/10
step 6 calculate d = n%10
step 7 calculate reverse = a+(b*10)+(c*100)+(d*1000)
step 8 display reverse
step 9 stop
Read more about algorithms here:
https://brainly.com/question/24953880
#SPJ1