Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Step1: START

Step2: Display “Menu”


“Here’s Our Menu!”
<A>.
Burger with Fries .....(P60.00)
<B>.
Cheese Burger, Fries and Drinks .....(P100.00)
<C>.
Chicken, Fries and Spaghetti .....(P150.00)
<D>.
2pcs. Chicken with Fries, Spaghetti and Sundae .....(P200.00)

Step3: Display “Enter your Choice from A-D here”


Step4:Input choice here, say choice
Step5:If choice = A or a
Then
Display “Your order is Hamburger with Fries (P60.00)”
Step6:Display “How Many Orders?”
Step7: Input desired amount here , say hwmny
Step8: bill=60*hwmny
Display “ Your Bill is hwmny”
Step9: Display “Enter Your Payment Here:”
Step10: Input value for payment, say pymnt
Step11: If bill> payment
then
Display “Invalid amount. Please try Again!”
goto Step9
else
change=pymnt-bill
Display “ Your change is, change”
Step12: Display “Do you want to Add more to your Order?"
Step13:Display [Y/N]?:"
Step14: Input value for yesno
Step15: if yesno=y/Y
Then
Goto Step3
Else if yesno=n/N
Then
Display “Thank you For Patronizing! Enjoy Your Meal!"
Else if yesno != y/Y or n/N
Then
Display “Invalid Input, Please Try Again"
Goto Step 12
Endif
Step16: Else if choice = B or b
Then
Display “Cheese Burger, Fries and Drinks (P100.00)”
Step17:Display “How Many Orders?”
Step18: Input desired amount here , say hwmny
Step19: bill=100*hwmny
Display “ Your Bill is hwmny”
Step20: Display “Enter Your Payment Here:”
Step21: Input value for payment, say pymnt
Step22: If bill> payment
then
Display “Invalid amount. Please try Again!”
goto Step20
else
change=pymnt-bill
Display “ Your change is, change”
Step23: Display “Do you want to Add more to your Order?"
Step24:Display [Y/N]?:"
Step25: Input value for yesno
Step26: if yesno=y/Y
Then
Goto Step3
Else if yesno=n/N
Then
Display “Thank you For Patronizing! Enjoy Your Meal!"
Else if yesno != y/Y or n/N
Then
Display “Invalid Input, Please Try Again"
Goto Step 23
Endif
Step27: Else If choice = C or c
Then
Display “Chicken, Fries and Spaghetti (P150.00)”
Step28:Display “How Many Orders?”
Step29: Input desired amount here , say hwmny
Step30: bill=150*hwmny
Display “ Your Bill is hwmny”
Step31: Display “Enter Your Payment Here:”
Step32: Input value for payment, say pymnt
Step33: If bill> payment
then
Display “Invalid amount. Please try Again!”
goto Step31
else
change=pymnt-bill
Display “ Your change is, change”
Step34: Display “Do you want to Add more to your Order?"
Step35:Display [Y/N]?:"
Step36: Input value for yesno
Step37: if yesno=y/Y
Then
Goto Step3
Else if yesno=n/N
Then
Display “Thank you For Patronizing! Enjoy Your Meal!"
Else if yesno != y/Y or n/N
Then
Display “Invalid Input, Please Try Again"
Goto Step 34
Endif

Step38:Else If choice = D or d
Then
Display “Your order is 2pcs. Chicken with Fries, Spaghetti and Sundae (P200.00)”
Step39:Display “How Many Orders?”
Step40: Input desired amount here , say hwmny
Step41: bill=200*hwmny
Display “ Your Bill is hwmny”
Step42: Display “Enter Your Payment Here:”
Step43: Input value for payment, say pymnt
Step44: If bill> payment
then
Display “Invalid amount. Please try Again!”
goto Step42
else
change=pymnt-bill
Display “ Your change is, change”
Step45: Display “Do you want to Add more to your Order?"
Step46:Display [Y/N]?:"
Step47: Input value for yesno
Step48: if yesno=y/Y
Then
Goto Step3
Else if yesno=n/N
Then
Display “Thank you For Patronizing! Enjoy Your Meal!"
Else if yesno != y/Y or n/N
Then
Display “Invalid Input, Please Try Again"
Goto Step 45
Endif
Step49: STOP

You might also like