1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lubasha [3.4K]
4 years ago
11

Assume that price is an integer variable whose value is the price (in US currency) in cents of an item. Assuming the item is pai

d for with a minimum amount of change and just single dollars, write an expression for the number of single dollars that would have to be paid. python
Engineering
1 answer:
Svet_ta [14]4 years ago
5 0

Answer:

  1. price = 380
  2. dollar = (price // 100) + 1
  3. print(dollar)

Explanation:

Presume the an item cost 380 cents and we set 380 to the variable price (Line 1). To estimate the number of single dollars to be paid, we can use // operator to divide price by 100 and we will get 3 (the remaining decimal point will be discarded). Then we add 3 by one. So the expression is

(price//100) + 1

*The reason we divide price by 100 is because 1 dollar = 100 cents

You might be interested in
Summarize key
BlackZzzverrR [31]

Answer:

what are is ethiopia cultural ?

7 0
2 years ago
A 3-m-high, 11-m-wide rectangular gate is hinged at the top edge at A and is restrained by a fixed ridge at B. Determine the hyd
serg [7]

Answer:

its a

Explanation:

its a

5 0
3 years ago
A box-shaped aquarium has horizontal dimensions 0.5 m by 1 m, and depth 0.5 m, and is filled two-thirds of the way to the surfac
antoniya [11.8K]

Answer:

3270 N/m^2

Explanation:

we can calculate the pressure difference between the bottom and surface of the tank by applying the equation for the net vertical pressure

Py = - Ph ( g ± a )

for a downward movement

Py = - Ph ( g - a )  ------ ( 1 )

From the above data given will  be

p = 1000 kg/m^3, h = 2/3 * 0.5 = 0.33 m , a =2g , g = 9.81

input values into equation 1  becomes

Py =  -Ph ( g - 2g ) = Phg ------ ( 3 )

Py = 1000 * 0.33 * 9.81

    = 3270 N/m^2

6 0
3 years ago
.The war of the currents in the 1880's involved Thomas Edison and Nikola Tesla on a reality TV show stranded on an island. Each
natali 33 [55]

Answer:

True

Explanation:

Nikola Tesla defeated Thomas Edison in the AC/DC battle of electric current.

7 0
3 years ago
Need help solving math problem using integration
notka56 [123]
Ummm did you try to add or subtract and multiply or divide that can get your answer
8 0
2 years ago
Other questions:
  • What is the difference between a job and a profession
    9·1 answer
  • WHEN WAS THE FIRST CAR INVENTED?
    13·2 answers
  • Technician A says that a magnetic field can be created by current flow. Technician B says that current can be induced by moving
    5·1 answer
  • _______ is a material property that pertains to local resistance to plastic deformation, such as scratching or denting. It is of
    10·1 answer
  • A capillary tube is immersed vertically in a water container. Knowing that water starts to evaporate when the pressure drops bel
    11·1 answer
  • Which factors influence changes in consumer demands? check all that apply
    8·2 answers
  • In the circuit given below, R1 = 17 kΩ, R2 = 74 kΩ, and R3 = 5 MΩ. Calculate the gain 1formula58.mml when the switch is in posit
    7·1 answer
  • Describe the engineering design process in your own words.
    6·2 answers
  • A benefit to using the medium the author used in "Great Rock and Roll
    12·2 answers
  • One reason the shuttle turns on its back after liftoff is to give the pilot a view of the horizon. Why might this be useful?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!