Here is the main java file


Code:
import java.util.*;
import java.io.*;

//Class
public class Project3 {

  //Main function
  public static void main(String[] args) throws java.io.IOException {


	//declaring our variables and array
	int choice, numberOfItems;
	final double cheeseSteakSub = 3.25;
	final double turkeysub = 3.00;
	final double frenchFries = 1.50;
	final double soda = 1.00;
	final double applePie = 1.25;
	final double fruit = .75;

	//beginning the loop for user to select menu items
	do {

		//describing the output of the program
		System.out.println("\n---Rusty's Sub Shop and Bingo Parlor----\n");
		System.out.println("*  1. Cheese Steak Subs     $3.25      *\n");
		System.out.println("*  2. Turkey Sub            $3.00      *\n");
		System.out.println("*  3. French Fries          $1.50      *\n");
		System.out.println("*  4. Soda                  $1.00      *\n");
		System.out.println("*  5. Apple Pie             $1.25      *\n");
		System.out.println("*  6. Fruit                 $ .75      *\n");
		System.out.println("*  7. Finished Ordering                *\n");
		System.out.println("----------------------------------------\n");
		System.out.print("Choose an item from the menu above: ");

		//setting our input for use
		Scanner stdin = new Scanner(System.in);
		choice = stdin.nextInt();

			        //switch to process menu selections from user
				switch (choice) {

					case 1:

						{
							System.out.print("\nHow many Cheese Steak Subs would you like to purchase: ");
							numberOfItems = stdin.nextInt();
							MenuOrder itemTotal[0] = new MenuOrder.calculateItemCost(numberOfItems, cheeseSteakSub);
							System.out.printf("\n" + numberOfItems + " Cheese Steak Subs = $%1.2f" ,itemTotal[0]);
							System.out.println("");
						}

						break;

					case 2:

						{
							System.out.print("\nHow many Turkey Subs would you like to purchase: ");
							numberOfItems = stdin.nextInt();
							MenuOrder itemTotal[1] = new MenuOrder.calculateItemCost(numberOfItems, turkeysub);
							System.out.printf("\n" + numberOfItems + " Turkey Subs = $%1.2f" ,itemTotal[1]);
							System.out.println("");
						}

						break;

					case 3:

						{
							System.out.print("\nHow many orders of French Fries would you like to purchase: ");
							numberOfItems = stdin.nextInt();
							MenuOrder itemTotal[2] = new MenuOrder.calculateItemCost(numberOfItems, frenchFries);
							System.out.printf("\n" + numberOfItems + " orders of French Fries = $%1.2f" ,itemTotal[2]);
							System.out.println("");
						}

						break;

					case 4:

						{
							System.out.print("\nHow many Sodas would you like to purchase: ");
							numberOfItems = stdin.nextInt();
							MenuOrder itemTotal[3] = new MenuOrder.calculateItemCost(numberOfItems, soda);
							System.out.printf("\n" + numberOfItems + " sodas = $%1.2f" ,itemTotal[3]);
							System.out.println("");
						}

						break;

					case 5:

						{
							System.out.print("\nHow many Apple Pies would you like to purchase: ");
							numberOfItems = stdin.nextInt();
							MenuOrder itemTotal[4] = new MenuOrder.calculateItemCost(numberOfItems, applePie);
							System.out.printf("\n" + numberOfItems + " Apple Pies = $%1.2f" ,itemTotal[4]);
							System.out.println("");
						}

						break;

					case 6:

						{
							System.out.print("\nHow many pieces of Fruit would you like to purchase: ");
							numberOfItems = stdin.nextInt();
							MenuOrder itemTotal[5] = new MenuOrder.calculateItemCost(numberOfItems, fruit);
							System.out.printf("\n" + numberOfItems + " orders of Fruit = $%1.2f" ,itemTotal[5]);
							System.out.println("");
						}

						break;

					case 7:

						{

							MenuOrder grandTotal = new grandTotal.getTotalOrderCost();

								System.out.printf("   Grand total = $%1.2f" ,grandTotal);
								System.out.println("");
						}


					  default:

						{
							System.out.println("\nInvalid Menu item, please select item again.\n");
						}

						break;

					}

			}while (choice != 7);
  		}
	}
Here is the class file

Code:
public class MenuOrder {

	public static double orderSubtotal;
	public static double orderTotalCost;
	public static double itemTotalCost;
	public static double taxes;
	public static final double salesTax = .05;


	public static double itemTotal[];
	itemTotal = new double[7];


	public MenuOrder()  {

			orderTotalCost = 0.0;
	        orderSubtotal = 0.0;

	   	}


	   public double calculateItemCost(int itemNumber, double itemCost) {
		     itemTotalCost += itemNumber * itemCost;
	   		 return itemTotalCost;
	   		}


	   public double calculateOrderTotal() {
	          orderSubtotal = (itemTotal[0] + itemTotal[1] + itemTotal[2] + itemTotal[3] + itemTotal[4] + itemTotal[5]);
			  taxes = orderSubtotal * salesTax;
			  orderTotalCost = orderSubtotal + taxes;
			  return orderTotalCost;
	   		}


	   public double getTotalOrderCost() {
	         return orderTotalCost;
       		}
 }
Gettting many errors and everytime I try to fix an error I get more errors or different errors, can someone give me a good direction to go in or help

L:\College Info\CMIS141\Projects\Project3.java:54: ']' expected
MenuOrder itemTotal[0] = new MenuOrder.calculateItemCost(numberOfItems, cheeseSteakSub);
^
L:\College Info\CMIS141\Projects\Project3.java:66: ']' expected
MenuOrder itemTotal[1] = new MenuOrder.calculateItemCost(numberOfItems, turkeysub);
^
L:\College Info\CMIS141\Projects\Project3.java:78: ']' expected
MenuOrder itemTotal[2] = new MenuOrder.calculateItemCost(numberOfItems, frenchFries);
^
L:\College Info\CMIS141\Projects\Project3.java:90: ']' expected
MenuOrder itemTotal[3] = new MenuOrder.calculateItemCost(numberOfItems, soda);
^
L:\College Info\CMIS141\Projects\Project3.java:102: ']' expected
MenuOrder itemTotal[4] = new MenuOrder.calculateItemCost(numberOfItems, applePie);
^
L:\College Info\CMIS141\Projects\Project3.java:114: ']' expected
MenuOrder itemTotal[5] = new MenuOrder.calculateItemCost(numberOfItems, fruit);
^
6 errors

Tool completed with exit code 1