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

Which type of reasoning is used in the following statement? Kids like to play outside. Chase is a kid. Therefore, Chase likes to play outside. A. ideal reasonin
If you walked at an average speed of 102 m/s, how long would it take to cross a road that is 16-m wide?
why is it important to elevate the anthers
13C and 14C are isotopes of 12C, which has 6 electrons, 6 protons, and 6 neutrons. What is the arrangement of subatomic particles in 14C? 6 electrons, 7 protons
Write an expression that converts 50 liters per minute into milliliters per second
How do i set up and solve divide 4/5 by 70%
After the colonists won independence from Britain, what was their main concern?.
Which statement best explains why the sun is a star
Do you think African Americans would have been eager to fight for the United States during the Spanish American War? Why or why not?
how do you round 78.539 to the nearest hundredths