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 glass tube is inserted into a flowing stream of water with one opening directed upstream and the other end vertical. If the wa
Furkat [3]

Answer:

h=0.46m

Explanation:

From the question we are told that:

Velocity of water V=3m/s

Height=?

Generally, the equation for Water Velocity is mathematically given by

V=\sqrt{2gh}

Therefore Height h is given as

h=\frac{v}{2g}

h=\frac{3^2}{2*9.81}

h=0.46m

5 0
3 years ago
Dear sir i want to ask something about the solution of my question?
Eva8 [605]
No you may not ask the question
3 0
2 years ago
In order to impress your neighbors and improve your vision in traffic jams, you decide to mount a cylindrical periscope 2.0 m hi
kondaur [170]
Follow @richard.gbe on Instagram for the answer
5 0
3 years ago
Whats the best used for cable -stayed bridge
nalin [4]

Answer:

a cable -stayed bridge has, one or more towers,from which cable support the bridge deck.

7 0
3 years ago
If angle A is a complement of angle B, angle B and angle C are vertical angles, and the supplement of C has a measure of 140°. F
Over [174]

Answer:

50°

Explanation:

Complementary angles add up to 90°.

Supplementary angles add up to 180°.

Vertical angles are equal.

A + B = 90°

B = C

C = 180° − 140°

C = 40°

B = 40°

A = 50°

7 0
3 years ago
Other questions:
  • Determine displacement (in) of a 1.37 in diameter steel bar, which is 50 ft long under a force of 27,865 lb if elasticity modulu
    5·1 answer
  • Bulk wind shear is calculated by finding the vector difference between the winds at two different heights. Using the supercell w
    12·1 answer
  • What is your employer required to have on fixed ladders that extend more than 24 feet in the workplace?
    15·2 answers
  • 2 Air enters the compressor of a cold air-standard Brayton cycle at 100 kPa, 300 K, with a mass flow rate of 6 kg/s. The compres
    7·1 answer
  • What three training organizations are important for Union Masons?
    14·1 answer
  • Two identical bulbs in parallel in a radio create a total resistance of 15 ohms in the circuit. What's the resistance of each of
    6·1 answer
  • WHICH TASK BEST FITS THE ROLE OF A DESIGN ENGINEER ?
    7·1 answer
  • A(94,0,14) B(52,56,94) C(10,6,48) D(128,64,10)
    6·1 answer
  • Moonbeam-Musel (MM), a manufacturer of small appliances, has a large injection molding department. Because MM's CEO, Crosscut Sa
    13·1 answer
  • Is reinforcement needed in a retaining wall
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!