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

A soccer team played 160 games and won 65 percent of them. How many games did it win ?
Which statement accurately describes the Battle of Marathon?   A. Athens fought alone against Darius's army and decisively defeated the Pers
What is the last number
A microscope is set so it makes an object appear 4 x 10`2 times larger than its actual size. A virus has a diameter of of 2 x 10`-7 meter. how large will the di
what's the square root of 135
what is an undefined nuclear region containing only nucleic acid
Subtract: 6lb 4oz - 2lb 10oz
one way in whick Robespierre and Louis XVI of France are similar is that both
Solve by elimination:4x+7y =8-8x -14y= 5
Can someone tell me what is a Genre?