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

GENERAL QUESTION for my next math class should i take pre-calc, or intergrated math. which one is easier and which one hasmore answers on here.
What type of clause begins with a subordinating conjunction
What is the length of a diagonal of a square with a side length of 5?
A car will be traveling a total distance of 520 miles. The first part of the trip takes 2 hours, and the car’s average rate is 65 miles per hour. If the entire
Explain why water has a higher boiling point than carbon iv oxide and the two are simple molecular structures
according to the graph what is the value of the constant in the equation below
Explain the following statement: Volcanic eruptions aid in the creation of an atmosphere.
Urgent 25 points!! Amanda was asked to make a solution of salt water using 32.0 grams of NaCl and 0.75 Liter of water. Amanda realized that first, she needed t
true or false one milliliter of water has a mass of 2.00 grams​
Need help with the question in the attachment!