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

Two tectonic plates of different densities collide. Which of the following could form at the plate boundary? island mid-ocean ridge rift valley trench volcano P
write the number 4.8 in scientific notation
An anatomy model of an adult human is 7 inches tall. Most adult humans are between 5 feet and 6 feet tall. What is the approximate scale factor of the model? A.
Please help...........
What is 36 divided by 836?
Find the value of f(x). When the x. = 0
What is the slope of the line through (-2,-6) and (2, 2)?
What is a problem that is created by biofuels? A. Growing corn is less costly than growing soybeans. B. Growing plants for biofuels is expensive. C. Growing pla
Which sentence correctly describes the image?(picture of a plate,fork,spoon, and knife) A. El plato está entre el cuchillo y el tenedor. B. El tenedor est
In "A dialogue concerning the Two Chief World Systems" simplico argued for a heliocentric universe. A. True B. False