im very beginner in programming and I want to make a simple shopping cart as follows and a cant figure it out :
this program should allow the user to order from small catalogue then calculate the final bill including tax at 20 %. sample program should look like this:
our catalogue [ product code in brackets]:
1-water [k1234] 3$
2-honey [k123] 2$
3-meat [p123] 1$
Enter order number (o to stop): k1234
Enter Quantity : 5
Enter order number (o to stop): 5667
Sorry I don't understand use product code only.
Enter order number (o to stop): 0
5 water @ 3$ = 15 $
subtotal : 15.00 $ Tax @ 20 % : ..............
please guy I need some help