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

What type of appeal would let you rely on connecting with your audience's emotions? O logos O pathos O ethos
which one is this one How does the author describe the conditions for women at the Blackfeet Reservation in Montana?
Hey, do you think you can help me with these questions? I'll give some extra points(can give more if needed) 1. Compare neutron stars and black holes. 2. explai
Use the resource below to explain why people migrate to urban areas in LICs.
Which of the following goals stated in the Premable to the constitution appear to address weaknesses of the articles of confederation
In a circle with radius 2.1, an angle intercepts an arc of length 21.2. Find the angle in radians to the nearest 10th.
Jessica can run 8/5 of a mile in 8 minutes. How long does it take Jessica to run a mile?
Combine the like terms to simplify x + 4 - 5x - 2
I AM VERY REAL Part B: Which of the following quotes best supports the answer to Question 9?
h → 4 3 19 4 -3 -2 -1 1 2 3 4 -1 -2+ -3- 4 What is the slope of the line?