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 financial crisis led to the passage of the federal reserve act of 1913?
Which key concept did Charles I agree to in the petition of rights (1628). A. No parliament B. No hereditary monarchy C. No taxation without representa
Recently researchers uncovered the molecular structure of a key protein that retroviruses use to multiply this was a significant step towards what
Which body of water was most likely the center of Roman trade
Read the excerpt from "The Gettysburg Address". Four score and seven years ago our fathers brought fourth on this continent, a new nation, conceived in liberty.
Compare the decimals 17.20 and 17.2. Which comparison is correct? A. 17.20 > 17.2 B. 17.20 < 17.2 C. 17.20 = 17.2
terry bicycled 64.8 miles in 7 hours. wat is the best estimate of the average number of miles she bicycled each hour?
What is the basics of C++
Which of the following is part of the set of intergers? natural numbers negative whole numbers positive whole numbers zero (More than 1 answer can be selected)
how long did the bid bang occur