how to make a menu program where in you need to enter groceries, t-shirt brands and shoes brands and if you choose groceries,there must have items such as canned goods,household materials and if you choose canned goods the price must appear in the monitor and you will be able to know if that item is discounted or not
how to make a menu program?
Collapse
X
-
Tags: None
-
To create a menu program start with an infinite loop in main().
Then first thing inside the loop, get a menu choice form the user.
Test the choice and call the correct function for the choice. When that function returns you are still in the loop to get the next choice.
One of the choices would be to exit the program. Here you call your exot function. This function does any cleanup that may be necessary and then stops the program. It does not return. -
thanks for your help...
but again i dont know how to make a source code of my menu program...im too confusedComment
Comment