Prog 101: Keychains for Sale
///Name: Ilana Levy
///Period: 5
///Program Name: Keychains for Sale
///File Name: keychainSale.java
///Date Finished: 9/30/2015
import java.util.Scanner;
public class keychainSale
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner( System.in );
int choice;
System.out.println( "Ye Old Keychain Shope" );
System.out.println();
do
{
System.out.println( "1. Add keychains to order\n2. Remove Keychains from Order\n3. View Current Order\n4.Checkout" );
System.out.print( "Please enter your choice: " );
choice = keyboard.nextInt();
System.out.println();
if (choice == 1 )
{
addKeychains();
}
else if ( choice == 2 )
{
removeKeychains();
}
else if ( choice == 3 )
{
viewOrder();
}
else
{
checkout();
}
} while (choice != 4 );
}
public static void addKeychains()
{
String x = "ADD KEYCHAINS";
System.out.println( x );
}
public static void removeKeychains()
{
String x = "REMOVE KEYCHAINS" ;
System.out.println( x );
}
public static void viewOrder()
{
String x = "VIEW ORDER" ;
System.out.println( x );
}
public static void checkout()
{
String x = "CHECKOUT" ;
System.out.println( x );
}
}