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 ordered pairs are solutions to the inequality y−2x≤−3? Select each correct answer. a. (−6, −3)(−6, −3) b. (5, −3)(5, −3) c. (0, −2)(0, −2) d. (7, 12)(7, 1
which event directly led to the end of the vietnam war?
keisha puts herself down all the time. she is very negative about everything and doubts her ability to succeed. keisha is displaying a. clinical problems. b. ex
1 3/5 x - 3/4 plz help thank you
What is the swampiest part of the world?
how were the maya organized politically?
After lunch, you decide to go out and rest on the porch. You notice that your heart rate and breathing slows down, and you suddenly feel the need to perform a b
how to find the perimeter of a polygon
Identify the sentence that uses incorrect parallel structure. A. Mom is watching TV in the living room, and Dad is mowing the backyard. B. Strengthening c
The graph of the equation 2x2 + xy + y2 = 4 is the tilted ellipse pictured below; i.e. the points (x,y) in the plane that satisfy the equation yield the picture