Advertisement
StormWingDelta

InfinateLoopAnnoyance

Jan 28th, 2012
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1. //
  2.         String U = "";
  3.         U = U.toUpperCase();
  4.         Scanner sc3 = new Scanner(System.in);
  5.         Scanner Trying = new Scanner(U);
  6.         while(!Trying.hasNext("EXIT"))
  7.         {
  8.             //sc3 = new Scanner(System.in);
  9.             U = sc3.nextLine( );
  10.             U = U.toUpperCase();
  11.             System.out.println(U);
  12.             //Trying = U.toUpperCase();
  13.         }
  14.         System.out.println("Win");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement