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
AleksAgata [21]
3 years ago
12

Write a program to input 6 numbers. After each number is input, print the biggest of the numbers entered so far.

Engineering
1 answer:
likoan [24]3 years ago
4 0

Answer:

P<u>rogram:</u>

# Enter Numbers #

number1 = int(input("Enter number: " ))

print("Largest: " + string(number1))

#for num 2 #

number2 = int(input("Enter a number: "))

if number2 > number1:

 print("Largest: " + string(number2))

else:

 print("Largest: " + string(num1))

#for num 3 #

number3 = int(input("Enter a number: "))

print("Largest: " + string(max(number1, number2, number3)))  

#for num 4 #

number4 = int(input("Enter a number: "))

print("Largest: " + string(max(number1, number2, number3, number4)))

#for num 5 #

number5 = int(input("Enter a number: "))

print("Largest: " + string(max(number1, number2, number3, number4, number5)))

#for num 6 #

number6 = int(input("Enter a number: "))

print("Largest: " + string(max(number1, number2, number3, number4, number5, number6)))        

# END #

You might be interested in
A car accelerates from O to 60. miles per hour in 5.2 seconds. Calculate acceleration in m/s seconds. Calculate acceleration in
DochEvi [55]

Answer:

a=5.515\frac{m}{s^{2} }

Explanation:

The first thing we will do is convert the units. Miles per hour to meters per second.

1 mile=1609.34 mts.

1 hora=3600 segundos

Performing the operations

60\frac{mile}{h}=\frac{(60*1609.34)}{3600}\frac{m}{s}=26.822\frac{m}{s}

Now, we will use the acceleration formula

a=\frac{v}{t}

Where v = speed and t = time

Substituting the values ​​of t=5.2s

a=\frac{v}{t} =\frac{26.822\frac{m}{s} }{5.2s} =5.15\frac{m}{s^{2} }

7 0
3 years ago
an inclined manometer is connected to a pitor tube to measure the velocity at the center of a circular duct. If the inclined man
jekas [21]
57.5 m/s
I did 2.3/0.04
I’m not sure if it’s correct though
8 0
3 years ago
Consider a refrigerator that consumes 320 W of electric power when it is running. If the refrigerator runs only one quarter of t
Semenov [28]

Answer:

B. $5.18

Explanation:

Cost of electricity per kWh = $0.09

Power consumption of refrigerator = 320W = 320/1000 = 0.32kW

In a month (30 days) the refrigerator works 1/4 × 30 days = 7.5 days = 7.5 × 24 hours = 180 hours

Energy consumed in 180 hours = 0.32kW × 180h = 57.6kWh

Cost of electricity of 57.6kWh energy consumed by the refrigerator = 57.6 × $0.09 = $5.18

3 0
3 years ago
Read 2 more answers
Home safety and security is an __________ process.
Irina-Kira [14]

家庭安全和安保是一个电气过程或电气过程,你在电脑上吗?我不是

6 0
3 years ago
A completely reversible heat pump produces heat at a rate of 300 kW to warm a house maintained at 24 °C. The exterior air, which
trapecia [35]

Answer:

No.

Explanation:

The Coefficient of Performance of the reversible heat pump is determined by the Carnot's cycle:

COP_{HP} = \frac{T_{H}}{T_{H}-T_{L}}

COP_{HP} = \frac{297.15\,K}{297.15\,K-280.15\,K}

COP_{HP} = 3.339

The power required to make the heat pump working is:

\dot W = \frac{300\,kW}{3.339}

\dot W = 89.847\,kW

The heat absorbed from the exterior air is:

\dot Q_{L} = 300\,kW - 89.847\,kW

\dot Q_{L} = 210.153\,kW

According to the Second Law of Thermodynamics, the entropy generation rate in a reversible cycle must be zero. The formula for the heat pump is:

\frac{\dot Q_{L}}{T_{L}} - \frac{\dot Q_{H}}{T_{H}} + \dot S_{gen} = 0

\dot S_{gen} = \frac{\dot Q_{H}}{T_{H}} - \frac{\dot Q_{L}}{T_{L}}

\dot S_{gen} = \frac{300\,kW}{297.15\,K}-\frac{210.153\,kW}{280.15\,K}

\dot S_{gen} = 0.259\,\frac{kW}{K}

Which contradicts the reversibility criterion according to the Second Law of Thermodynamics.

5 0
3 years ago
Other questions:
  • 1. A thin plate of a ceramic material with E = 225 GPa is loaded in tension, developing a stress of 450 MPa. Is the specimen lik
    14·1 answer
  • Water at 15°C is to be discharged from a reservoir at a rate of 18 L/s using two horizontal cast iron pipes connected in series
    7·1 answer
  • 5.5 A scraper with a 275 hp diesel engine will be used to excavate and haul earth for a highway project. An evaluation of the jo
    10·1 answer
  • Describe three differences between liquids and gases in fluid power systems.<br> Help !!!
    5·1 answer
  • A 860 kΩ resistor has 34 μA of current. What is the supply voltage for this electric circuit?
    13·2 answers
  • Liquid water is fed to a boiler at 24°C and 10 bar is converted at a constant pressure to saturated steam.
    12·1 answer
  • A package is thrown down an incline at A with a velocity of 1 m/s. The package slides along the surface ABC to a conveyor belt w
    13·1 answer
  • Consider the gas carburizing of a gear of 1018 steel (0.18 wt %) at 927°C (1700°F). Calculate the time necessary to increase the
    12·1 answer
  • Steam at 1400 kPa and 350°C [state 1] enters a turbine through a pipe that is 8 cm in diameter, at a mass flow rate of 0.1 kg⋅s−
    15·1 answer
  • For each function , sketch the Bode asymptotic magnitude and asymptotic phase plots.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!