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 statements best describe natural selection? Check all that apply. Populations must have genetic variation. Genetic mutations do not produce advantageous
What is the area and perimeter of a polygon with angles that equal 90 and a side the equals 8
What does it mean that Roman religion was polytheistic? A. The Romans worshipped nature. B. The Romans worshipped royalty. C. The Romans believed in the afterli
Katie is Celine glasses of lemonade for $0.50 she sells between 20 and 40 glasses in an hour if she sells lemonade for 6 hours what is the reasonable amount of
What is the Genome of HIV RNA DNA Both RNA and DNA Neither RNA or DNA
Why is paraphrasing not a guaranteed way to avoid plagiarism?
Brandon and his friends want to be at the amusement park by 1:30 pm. The bus travels at 50 miles an hour. The park is 100 miles away. At what time should they s
Which statenent is true about the equation (x-4)(x-2)=16?​
Whats the radius and diameter?
The number of measles cases increased 10.2% to 58 cases this year, what was the number of cases prior to the increase? (Express your answer rounded correctly to