I need to make a function called “menu” that displays a main menu. This function should return the choice of the user
please help!!!
I need to make a function called “menu” that displays a main menu. This function should return the choice of the user
please help!!!
Show us what code you have done at the moment and then we can find where your mistakes are.
I would use c++ to design a menu type structure. You should display a menu using iostream objects, such as cout. After your menu is displayed, you should prompt the user for a menu choice.
One structure in mind that lends itself to handling menus is use of the switch( ).
Hope this helps.
can you make a code for me
This forum does not write code for people. We help people by looking at the code they have already coded or by suggesting how we would go about the situation. Either provide us with what code you have so that we can point out the errors or take what Clinton suggested and see if that helps.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.