Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

4. Footnotes (but double-space between them).

Answered: 1 week ago

Question

2. Develop a persuasive topic and thesis

Answered: 1 week ago

Question

1. Define the goals of persuasive speaking

Answered: 1 week ago