Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  1. import java.util.Scanner;
  2. /**
  3.  * Write a description of class CopyOfTest here.
  4.  *
  5.  * @author (Lucky Shahin)
  6.  * @version (17-09-2019)
  7.  */
  8. public class Test2
  9. {
  10.     public static void main(String args[]){
  11.         Scanner s = new Scanner(System.in);
  12.         System.out.println("Please input 3 digit numbers: ");
  13.         int x = s.nextInt();
  14.        
  15.         Variables v = new Variables();
  16.        
  17.         System.out.println(v.reverse(x));
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement