this program takes the input of the user (integer) and reverses the integer and then thats the output but the one problem is that for negatives the reverse output is meant to put the minus sign at the end of the reversed integer but i just cant seem to get the program to do so.
for example:
i enter in:
9876
output:
6789
i enter in negative integer:
-9876
output is suppose to be:
6789-
any help would be great thanks