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

Can someone help me understand the question, Will MARK AS BRAINLIEST 50 POINTS.Compare and contrast the northern and southern United States between 1800 and 185
what is " ( ) " called?
which valve prevents blood to flow from the right atrium to the right ventricle
Simplify: (−2)3 · (−2)4 A) (−2)12 B) (−2)7 C) 212 D) 27
which lines are perpendicular to 3x-y=10? select all that apply A. y=3x+5B. y= -1/3x+17C. x+3y=27D. y-2=1/3 (3x+36)
please answer this question
7. Where did slaves have harder lives?
Hailey buys a 10-trip train ticket for $72.50.kimberly buys an unlimited weekly pass for $100 and uses it for 13 trips during the week write the unit cost for e
A straight road rises at an inclination of 0.3 radian from horizontal. Find the slope and change in elevation over a one mile section of the road.
what is " ( ) " called?