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

How can competition in a scarce labor market affect wages?
Mi hija me _____ si puedo darle un regalo. pide pregunta piden preguntan
A quadrilateral with one right angle must be a rectangle. A. True B. False
a college graduate experts to earn a salary of $60,000 durning the first year after graduation and receive 4% raise every year after that . what is the total in
Which of the following statements is true? Congruent angles are always 45º. Congruent angles are always supplementary. Congruent angles are always complementary
Find the area of the following polygons ? how to I solve this
Write a paragraph that tells readers what impact new technologies had on the development of industry in the Gilded Age.
What is the purpose of a fitness log?
Write the equation of the line that goes through the point (2,-5) and is parallel to y-axis
What causes photochemical smog? a.it is formed by reactions involving sunlight and nitrous oxides and hydrocarbons released from automobile exhaust. b.it is for