Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package textGame;
- import java.util.Scanner;
- public class gameRoot {
- public static void main(String[] args){
- Scanner input = new Scanner (System.in);
- String test = input.nextLine();
- while (test == "y")
- {
- System.out.println("yes");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement