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

Why did people choose to settle the plymouth colony?
Please answer this question ASAP
What do stabilizing selection and disruptive selection have in common??
Why were the Balkans so important to Germany's war effort in WWI?
I've been bumping this all morning trying to get help. Will someone please explain how to get the answer please! Indiana Jones is being pulled from a snake pit
Which of the following is a graph of y = 1/2 x^2?
What is 2 1/8 - 1 2/7 equal to?
Which of the outcome as a result of an increase in atmospheric pressure?
which type of energy is transfered by vibrational waves
have you ever been swimming and noticed some areas in the water are colder and other are warmer? why do you think this happens