c++
Write the function int reverse(int n) which receives a number, reverses its digits and returns it as a result.For example, for input 927, the function returns the number 729.
Now, write a program that uses the above function as follows:-The user will be asked to enter 10 numbers.- The program will reverse the digit order of the largest number and print it.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here