Assignemnt #101 Keychains For Sale
Code
/// Name: Drew Boxold
/// Period 5
/// Program Name: KeychainsForSale
/// File Name: KeychainsForSale.java
/// Date Finished: 4/8/16
import java.util.Scanner;
public class KeychainsForSale
{
public static void main(String[] args)
{
Scanner keyboard = new Scanner(System.in);
int choice, end = 0;
do
{
System.out.println("\nYe Olde Keychain Shoppe\n\n1. Add Keychains to Order\n2. Remove Keychains from Order\n3. View Current Order\n4. Checkout");
System.out.print("\nPlease Enter Your Choice (1-4): ");
choice = keyboard.nextInt();
if (choice == 1 )
addKeychains();
if (choice == 2 )
removeKeychains();
if (choice == 3 )
viewOrder();
if (choice == 4 )
{
checkout();
end = 1;
System.out.println("\nThank you for visiting Ye Olde Keychain Shoppe\n");
}
}while (end != 1 );
}
public static String addKeychains()
{
System.out.println("\nADD KEYCHAINS");
return "";
}
public static String removeKeychains()
{
System.out.println("\nREMOVE KEYCHAINS");
return "";
}
public static String viewOrder()
{
System.out.println("\nVIEW ORDER");
return "";
}
public static String checkout()
{
System.out.println("\nCHECKOUT");
return "";
}
}
Picture of the output