import java.util.Arrays;
import java.util.*;
public class menu
{
final static int robz = 5;
static Scanner console = new Scanner(System.in);
public static void main(String args[])
{
// int num[] = { 0 ,0 ,0 ,0} ;//new int [robz];
//int num [] = new int [robz];
int ans=0;
char anser;
int []test;
test= new int[robz];
int insert = 0;
int j,x=0 ;
int temp = test[3];
test[4] = 66;
//do
//{
int testLength = test.length;
//int testLength = inttest.length;
System.out.print("******** Menu********");
System.out.println("Select the following number 1-5");
System.out.println();
System.out.println();
System.out.println("[1]Intializing array");
System.out.println();
System.out.println("[2]Insert");
System.out.println();
System.out.println("[3]Display");
System.out.println();
System.out.println("[4]Sort");
System.out.println();
System.out.println("[5]Quit");
//num[counter] = console.nextInt();
System.out.println();
System.out.println();
System.out.println(" Press[1] Intializing [2] insert [3] Display [4] Sort [5] quit :");
ans = console.nextInt();
switch(ans)
{
case 1:{
menu_case( test);
System.out.println("Intializing array");
System.out.print("enter a 5 numbers:");
// testing
//nameAndAddress();
// for (int i=x ;i<test.length;i++)
// test[i] = console.nextInt();
//int a=0;
//{
// for (int z = a; z < test.length; z++)
{
System.out.print(test[i]);
System.out.print(", ");
}
} break;
case 2:
public void menu_main(int[] test){
System.out.println("Insert");
}
//System.out.print("enter a 5 numbers:");
// testing
// for (int i=x ;i<test.length;i++)
// test[i] = console.nextInt();
//test[0] = 77;
//test[1] = 99;
//test[2] = 44;
//test[3] = 55;
//test[4] = 22;
//test[5] = 88;
//insert = 5;
//for(j=0; j<insert; j++)
//System.out.print(test[j] + " ");
//System.out.println("");
break;
case 3: System.out.print("Display");
break;
case 4: System.out.println("Sort");
break;
case 5: System.out.print("Quit");
System.out.println();
System.out.print("Please! Press [Q] in order for you to Quit this Menu ");
// while(anser == 'Q')
//{
break;
default:System.out.println("Your out of Range and You need to review your logic ");
}
}
}