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

Solve the following inequalities and show the solution on a number line. 3/4 (2x-7) ≤ 5
what is the area of square EFGH?
The base of a triangle is 8 1 3 meters and the height of the triangle is the fourth root of 16 meters meters. What is the area of the triangle?
What is a synonym for the word “gallery”?
Como queres que te quero si el que you quero no me quire como yo lo quero
ASAP ASAP ASAP HELP ME WİTH GERMAN
when did the spanish war start
How does a low unemployment rate affect a nation's economy? A. The nation has a higher number of productive resources. B. The nation can spend more money on h
what is coefficient of the term of degree of degree 5 in the polynomial below
which expression is not a polynomial?