Advertisement
Parasect

[UNI] Targil 2

Oct 22nd, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import java.util.Scanner;
  2. public class Testing {
  3. public static void main(String[] args) {
  4. Scanner in = new Scanner (System.in);
  5. System.out.println("enter number with 3 digits");
  6. int a = in.nextInt();
  7. System.out.println((a%10)+""+(a%100/10)+""+(a/100));
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement