HI! can someone help me get the codes for this program..
Im still new to TC..
heres the criteria:
1. This program is for selling bread
2.There are 4 types of bread namely a b c d and each cost 1 2 3 4 respectively
3.each bread has a stock of 100 pcs
4.1st the program asks you to which bread you want to buy?
5. then you enter the number of bread you want to buy. If not enough stock, the program tells u "out of stock"
6.then the program asks you if you want to buy anything else
7.if yes, the program goes to no. 4. if no, the program displays the total cost of your orders and the quantity of bread you ordered..
plss use the simplest functions like while, if , else, etc..
thanks for your help