142k views
1 vote
PLEASE HURRY!!!!

What will be the output of the following program? Assume the user responds with a 5.
answer = input ("How many hamburgers would you like? ")
priceBurger = 3.00
moneyDue = answer * priceBurger
print ("You owe $", moneyDue)

A) An error occurs.
B) You owe $moneyDue
C) You owe $15.0
D) You owe $15

User Leksat
by
5.9k points

2 Answers

4 votes

Answer:

A. An error occurs

Step-by-step explanation:

See attachment

PLEASE HURRY!!!! What will be the output of the following program? Assume the user-example-1
User Saurabh Raoot
by
5.1k points
1 vote

Answer:

The output will be you owe 15.0 dollars

Step-by-step explanation:

User Lithelike
by
5.3k points