Advertisement
Guest User

title2

a guest
Jan 30th, 2015
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. package textGame;
  2. import java.util.Scanner;
  3. public class gameRoot {
  4. public static void main(String[] args){
  5.  
  6. Scanner input = new Scanner (System.in);
  7. String test = input.nextLine();
  8. while (test == "y")
  9. {
  10. System.out.println("yes");
  11.  
  12. }
  13.  
  14.  
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement