Language:Java
Write a function called rightTrimp that trims the digits of the positive integer sent to it from the number as the number inthe second parameter from the right.Sample Run:Enter the number: 12345Enter the number of digits to be trimmed from the right: 2Trimmed number = 123
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here