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

Coronary artery disease is a disease of the heart where the arteries and blood vessels become clogged with fat deposits called _____. fat tartar plaque adipose
Solve for x: 2/5 (x - 2) = 4x. A. 2/9 B. 9 C. -2/9 D. -9/2
Which is a true statement about the trend in higher education cost
What is 85% as a fraction?
Is success worth any price you have to pay?
8 4/9 + 5 3/8 = Please explain.
Which sentence best defines parallel structure at the sentence level? Two or more phrases in a sentence are the same length. Two or more parts of a sentence are
Who became the US President after Richard Nixon resigned?
All of the ways listed below are ways candidates can be nominatedEXCEPT?O A) nomination by petitionO B) direct primaryO C) self-announcementO D) secret nominati
Simplify 12 square root of 1764