Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- String U = "";
- U = U.toUpperCase();
- Scanner sc3 = new Scanner(System.in);
- Scanner Trying = new Scanner(U);
- while(!Trying.hasNext("EXIT"))
- {
- //sc3 = new Scanner(System.in);
- U = sc3.nextLine( );
- U = U.toUpperCase();
- System.out.println(U);
- //Trying = U.toUpperCase();
- }
- System.out.println("Win");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement