maxefficacy659 maxefficacy659
  • 16-01-2024
  • Computers and Technology
contestada

Read the following code used to calculate the total cost of cookies sold:

boxes = input("How many boxes of cookies did you sell?")
cost = 4
totalCost = boxes * cost

There is an error in the code. Which additional function needs to be used with the input() function?
A. float()
B. add()
C. int()
D. str()

Respuesta :

Otras preguntas

Is this an even or odd function? f(x)=5-3x
The damage caused by hurricane Katrina took the form of _______. a. oil spills and building damage b. flooding and mold infestations c. toxic chemicals and sewa
What is 8/16 in simplest form
According to astronomers, what is a "light year"
TICKETS: All you can ride: $25 7 tickets for $5 a. Write an equation in slope intercept form for the total cost of any number of tickets at 7 tickets for $5. b.
what is the gcf of 86,129,and 215
What is 2.06% written as a decimal ?
What is Linear Mime?
There are several types of tissues found in plants. Two examples are ________ tissue and _______ tissue
Which of the following is true about Mongol rule in China? A.Trade with other countries declined. B.Chinese were allowed to serve in the military. C.Mongol and