unknown152714 unknown152714
  • 03-11-2020
  • Computers and Technology
contestada

Write a program that will input two numbers and print the larger number on the screen.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

num1 = float(input("Enter the first number: "))

num2 = float(input("Enter the second number: "))

if num1 > num2:

   print(num1)

else:

   print(num2)

I hope this helps!

Answer Link

Otras preguntas

The Great _______ Range, running just inland along Australia's eastern coast, is that continent's only significant mountain chain. A. Barrier B. Dividing C. Aus
What Chemical Bond is most likely stores the most energy ?
Which of the following is true of high clouds? A.they cause most precipitation B.they generally produce lightning C.they are the result of sublimation D.they
What are the real or imaginary solutions of the polynomials x4 -­52x2 + 576 = 0 a. No Solution b. -4,4,-6,6 c. -4, -6 d. 0,4,6
Karen has 7 over 8cup of ice cream. How many 1 over 3cup servings can she make?
Crust and lithosphere refer to the same layer of the Earth. Please select the best answer from the choices provided a. True b. False
Which of the following solids would possess the lowest melting point? C25H52 Hg CaCl2 CuO
Find the exact value of cos 2π/3.
Even though the tundra has an extremely cold climate, it can still support life. Please select the best answer from the choices provided a. True b. False
What might the following description from Franz Kafka's The Metamorphosis represent for the Samsa family after Gregor's death? The cleaner shut the door and op