Question: Please help me to create the code using c++ in simple cash register - Don't use external function, switch case statement or while loop statement.
Please help me to create the code using c++ in simple cash register
- Don't use external function, switch case statement or while loop statement.
- only use IF statement
fried chicken ------100
adobo--------------130
pork chop---------150
rice----------------25
Sample Output:
New transaction? (Y/N)
Menu: fried chicken, adobo, pork chop, rice
price: 100, 130, 150, 25
Please select your order:
How many order you want?:
Price (price + how many order) :
Do you want order again?(Y/N)
- If Y repeat please select your order:
How many order you want:
Price(price + how many order) :
Do you want order again? (Y/N)
- if N
Total order is:
Please enter amount payment:
Tax Amount:
Change:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
