Question: The program provides the program design for a market, depending on the user's choice. Categories consist of Food, Cleaning and Fruits / Vegetables . Determine

The program provides the program design for a market, depending on the user's choice. Categories consist of Food, Cleaning and Fruits/Vegetables. Determine the stock quantity and price of 5 products for each category. Calculate the payment of the products to be purchased by the customer and the remaining stock quantities using methods. Use methods with and without parameters, with and without return values. You can design the program as you wish.
Example output:
Food (1)
Cleaning Material (2)
Fruit/Vegetable (3)
Payment (4)
Exit (5)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!