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 is the formula for calculating the average of cells C2 through C30?
HELP ME WITH this question Correct answer pls
In a job interview, the interviewer is not the only one who should ask questions. You should have questions prepared to ask him or he
Explain why the United States countered the Soviets with a policy of containment
(x4 - 9x + 5x7) + (5x - 10 + 3x4 - 2x2) Add and simplify in standard form
Write a thesis statement for this prompt provided in the attached pdf
Determine slope-intercept equation of (1,-3) and (-2,6)
how tall was the flagpole before it broke?
solve the quadratic equation X^2-5X÷2=0​
Which atmospheric layer prevents meteoroids from reaching earth’s surface