Assignemnt #101

Code

//colin hinton
//5th period
//Keychain.java
//2/9/2015

import java.util.Scanner;

public class Keychain
{
    public static void main (String [] args)
    {
       
        System.out.println("Welcome to me shop");
        Scanner kb = new Scanner(System.in);
        
        int option;
        do
        {
                System.out.println("1) Add keychains to order");
                System.out.println("2) Remove keychains to order");
                System.out.println("3) View current order");
                System.out.println("4) Checkout");
                System.out.print("Please enter a choice");
                option = kb.nextInt();
                
                if (option == 1)
                {
                    Add();
                }
                else if (option == 2)
                {
                    Remove();
                }
                else if (option == 3)
                {
                    View();
                }
                else if (option == 4)
                {
                    End();
                }
                
        }while (option != 4);
        
    }
                public static void Add()
                {   
                    
                    System.out.println("ADD KEYCHAINS");
                    
                }
                
                public static  void Remove()
                {
                   System.out.println("REMOVE KEYCHAINS"); 
                   
                }
                public static void View()
                {
                    System.out.println("VIEW KEYS");
                    
                }
                public static void End()
                {       
                    System.out.println("Checkout");
                   
                }
            }
    

Picture of the output

Assignment 1