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 one of the following characteristics is not a quality of digital media?
Help with algebra please? Thank you.
help me please. I don't understand this at all
Finally, the last emotion I've experienced has been the joy of engagement. It's a hackneyed statement, but life is not a spectator sport. To squeeze from life i
Need help 20x+12y=900
All of the following are examples of a college major except? A. Civil engineering B. Health sciences C. Fashion D. Geometry
Which sentence follows AP Style Guide Rules? A) "The school will be closed for winter break." Said Mrs. Hoffmann B) In, "The Road Not Taken," Robert Frost cla
The Gulag was a system of work camps in Russia where most inmates perished from overwork, hunger, and extreme conditions. True or False
Bill taylor vs louisiana supreme court case what were the arguement on each side
Which shows an angle that is approximately 80°? A. B. C. D.