Created
March 13, 2012 17:57
-
-
Save mfilippov/2030281 to your computer and use it in GitHub Desktop.
Echo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class Program | |
{ | |
public static void Menu(String[] args) | |
{ | |
Scanner in = new Scanner(System.in); | |
System.out.println("Welcome"); | |
while(true) { | |
System.out.print("Please enter you ZIP(quit for exit):"); | |
String value = in.nextLine(); | |
if (value.equals("quit")) { | |
break; | |
} | |
System.out.println(value); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment