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

Which of the following describes what can happen to the areas upstream of a hydroelectric dam?
r to grow crops. Which of these is the biggest consequence that occurs with excessive irrigation?
Which scientific evidence would show that two species of birds are closely related
some people wrongly compare the cells inside the body with bricks in a wall.actually three are scores of difference between the two and one such difference is t
what illness did Samuel Coleridge battle with?
the calculation of property tax is based on the
Which causes malaria, African sleeping sickness, and amoebic dysentery?
if a toy rocket is launced vertically upward from ground level with an inital velocity of 128 feet per second, then its high h, after t seconds is given by the
What is the measure oRCD in the figure below?350
What is the approximate distance between Portland, Oregon (45° north, 122° west), and San Francisco, California (37° north, 122° west). Use 3,960 miles for the