Answered step by step
Verified Expert Solution
Question
1 Approved Answer
back to classroom run Instructions from your teacher 1 2 3 num_hamburgers = int(input(Enter the number of hamburgers: )) num_fries = int(input(Enter the number of
back to classroom run Instructions from your teacher 1 2 3 num_hamburgers = int(input("Enter the number of hamburgers: ")) num_fries = int(input("Enter the number of fries: ") num_drinks = int(input("Enter the number of drinks: ") Statement Complete the program to output the total cost of a lunch order. Users will input the number of hamburgers, fries, and drinks they want and the program should print the total cost of the order. The price of hamburgers is 2.00, fries is 1.50, and drinks is 1.00. Properly format the output. Example input Example output Python 3.7.4 (default, Jul 9 2019, 00:06:43) [GCC 6.3.0 20170516] on linux Total cost: $17.50 Theory If you don't know how to start solving this assignment review POGIL Activity 04 and a theory for this lesson: https://sites.google.com/site/profvanselow/course/cop- 1500/cmp-cl/cs5-programming language-basics-15/p4-variables-data-types- expressions-operators
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