+ 1
Try to use a String. Read your four digit number into a String s. Then split the first element one by one and add it to the beginning of a String r. For the last digit, you type cast to int and add 1 to the number. Then add it to the beginning of r and print it.



