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

example of onomatopoeia in the seven ages of man
explain in steps how to graph this linear inequality 2x+3y > -2
What's the other word generous in overlooking insult or injury by others; rising above pettiness
what is glossities and deficiency
What's the word for looking down on others; proud and scornful
which designer started as a fashion illustrator before focusing on industrial design?
Solve the quadratic by factoring 2X²-2X-12=0
what we need to become success
Which chemical equation best describes the reaction of potassium metal with fluorine gas to form solid potassium fluoride? A. K(s) + F2(g) → KF2(s) B. K(s) + F(
How do we use the Pythagoras theorem in "everyday life".