For my final project I have to develop a functional flowchart and write a menu-driven Java program, using control constructs and user-defined functions.

My question is, what the heck is a menu-driven program?

Its like a main menu in a movie.
ex.

Scanner s = new Scanner(System.in);
System.out.print("Would you like to \n 1.Eat\n 2.Poop\n 3.or sleep"); // This is the menu-driven part
String input = s.nextLine();

switch(input) //you can only switch strings in JDK7
{
    //code goes here
}

ok got it.
thanks

If your problem is solved, mark it as solved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.