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

How is a fad diet different than a low calorie diet?
You have just purchased a 6-lb bag of apples for $4.80 at a local produce stand. How much would you expect to pay for a 10-lb bag of apples?
what are two different numbers that round to 9.2 when rounded to the nearest tenth
What opinion might a British soldier have had about the Boston Massacre?
What is the value of x? Round to the nearest tenth.
how much physical activity should an adult have each week
Why do you think the line between the powers of the Federal Government and those of state governments was often not clearly drawn?
Did Admiral Yamamoto make a wise decision in bombing Pearl Harbor? Explain.
William Penn called his colony a holy experiment. Chronicle the development of Pennsylvania and emphasize the advantages that the colony offered.
one whole and a half plus one and 8 in simplest form