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

Use the quadratic formula to solve the equation: y = x2 - 3x - 1 Group of answer choices x = 5.6 and -1.3 x = 3.3 and -.3 x = -5.4 and -.4 x = 6.3 and 3.2
Which set of ordered pairs does not represent a function? O {(8,-4), (-5,6), (-5,7), (-3,-5)} O{(-1,0), (1,0), (3,-2), (2, -9)} O {(3,-7), (-2, -9), (9,3), (7,
How many grams of nicl2∙6h2o will be used to prepare a 0. 0350 m, 500. 0 ml of nicl2 solution?
A muscle twitch produces external tension and moves an object by shortening the muscles during the _____ phase.
solve pls don't spam for marks​
Question 7(Multiple Choice Worth 1 points) (07.04 HC) Listen, read the question, and choose the option with the correct answer, based on the audio. II) 0:06 10:
You have decided to purchase a car for $25,625. the credit union requires a 10% down payment and will finance the balance with a 9% annual interest loan for 36
What vocabulary words would you decribe muhammad ali
how many inches are there in 62.8 cm?​
The school cafeteria sells two kinds of wraps: vegetarian and chicken. The vegetarian wrap costs $1.00 and the chicken wrap costs $1.90. Today they made $78.60