Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Testing {
- public static void main(String[] args) {
- Scanner in = new Scanner (System.in);
- System.out.println("enter number with 3 digits");
- int a = in.nextInt();
- System.out.println((a%10)+""+(a%100/10)+""+(a/100));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement