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 for x. Round to the nearest tenth of a degree, if necessary.
How would you calculate the number of moles of oxygen you had?
.How many days to get from Rome to Carthage?
A company that has never previously issued securities registered with the Securities and Exchange Commission, can register in a State by:
Last year, ginger cost $15 per kilogram. Due to a harvest shortage this year, the price of ginger has to increase by 15% per kilogram. Find the cost of ginger p
At time, t greater than or equal to 0, a particle moving in the xy plane has velocity vector given by v(t)=(t^2, 5t) What is the acceleration vector of the part
Alan’s gift basket contains three oranges for every five apples. If the basket has nine oranges, how many apples does it have?
x^2 - 11x + 24 =0 in a b c form
Find the volume of a right circular cone that has a height of 2.7 ft and a base with a diameter of 14.4 ft. Round your answer to the nearest tenth of a cubic f
twice one number added to three times another gives 21 find the numbers if the difference between them is 3