Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Welcome to my Food Cart Program! What would you like to do today? Pick an option from below: 1 . Place an order 2 .
Welcome to my Food Cart Program!
What would you like to do today?
Pick an option from below:
Place an order
Quit
Enter the name of your item: pasta
Enter the cost of your item $:
Do you want another item? yn: y
Enter the name of your item: bowl
Enter the cost of your item $:
Do you want another item? yn: y
Enter the name of your item: soda
Enter the cost of your item $:
Do you want another item? yn: x
Invalid Option! Please choose yn
Do you want another item? yn: n
Your total is: $
Enter the amount of tip you want to add $:
Your total is: $
You get a discount!
Your discount is: $
Your final total is: $
Welcome to my Food Cart Program!
What would you like to do today?
Pick an option from below:
Place an order
Quit
Enter the name of your item: Fajita Bowl
Enter the cost of your item $:
Do you want another item? yn: y
Enter the name of your item: Vietnamese plate
Enter the cost of your item $:
Do you want another item? yn: y
Enter the name of your item: Soda
Enter the cost of your item $:
Do you want another item? yn: x
Invalid Option! Please choose yn
Do you want another item? yn: n
Your total is: $
Enter the amount of tip you want to add $:
Your total is: $
You get a discount!
Your discount is: $
Your final total is: $
Welcome to my Food Cart Program!
What would you like to do today?
Pick an option from below:
Place an order
Quit
Thank you for using my program!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started