ok,so i have given an assignment and i don't know where to start. Here it is:
Write a program to help a local restaurant automate its breakfast billing system. The program should do the following.
a) Show the customer the different breakfast items offered by the restaurant.
b) allow the customer to select one item and the amount of item purchased from the menu.
c)calculate and print the bill.
so assume the bill is liek this:
a) coffee 2.50
b) tea 3.50
and so on...
here are the function that i have to do:
show the menu, calculate the total and print check
and the sample output:
coffee 2 4.90
tax 0.25
amount due 5.15
so my question is, do i have to use 2-D array or just use simple coding? i'm still learning about 2-d/multidimensional array so i just curious whether i should use 2d array or not because this question is a bit vague for me. If so, please guide me - give me a hint or something.