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

What features of the Chinese form of government did the mongols adopt?
George has a small coin collection.  He has collected 16 gold coins, 28 silver coins, 32 copper coins, and4 bronze coins. At a flea market, George sells 15% of
What is NAFTA? What countries are involved?
If A+B=76  and A -B=38 whats A divided by B
A bag has index cards with the following numbers on them: 4, 11, 13, 25, 12, and 18. If an index card is drawn randomly , what is the probabilty that a composit
57% of 109 is what number? plz help
Why didn't the first stars to form have solar systems with Earth like planets and satellites?
What is NAFTA? What countries are involved?
What is NAFTA? What countries are involved?
I would like to know if 200 cm is greater or less than 3 m