Skip to content

Instantly share code, notes, and snippets.

@scottfrazer
Created March 28, 2011 15:41
Show Gist options
  • Save scottfrazer/890684 to your computer and use it in GitHub Desktop.
Save scottfrazer/890684 to your computer and use it in GitHub Desktop.
import java.util.Scanner;
public class CS1_Frazer_X8_1
{
public static void main(String[] args)
{
String Input;
Scanner keyboard = new Scanner(System.in);
while(1) {
Input = keyboard.nextLine();
if ( Input.equals("quit") )
break;
/* Your code here */
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment