need a hand with my pascal assignment... pls? i need to write a program that reverses the input number 'n'. i am asked to formulate an equation to come up with the answer. example input/output dialogue:
enter a number: 2546
reversed number: 6452
the program should be simple.. no function or procedure... looping statements only (incrementations and decrementations)... i've tried using for... downto statement but it doesnt show results... please help me.. i'm stuck! your help would be very much appreciated.. thanks...