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

Classify the planets as terrestrial planets or gas giants. Celestial body A is the largest planet in the solar system. Celestial body B is the lightest planet i
Divide: 2x^4 + 8x^3 - 25x^2 - 6x + 14 / x + 6
I need help this is confusing! will mark brainliest! Which is the best estimate of x based on rounding the constants and coefficients in the equation to the nea
Solve the problems below. Please answer with completely simplified exact value(s) or expression(s). Given: ΔАВС, m∠ACB = 90 CD ⊥ AB , m∠ACD = 30°,AD = 8 cm
Which Egyptian god was reborn every morning? Ra Amun Anubis Osiris
solve the equation algebraicly for the exact vaule of x CHECK YOUR WORK : THE equation IS 6 - 2/4 (x + 5) = 4x
What is the author’s opinion of the Roman people? Romans are the most respected, praised, and magnificent people on Earth. Romans are rarely viewed by the rest
A gardener is planting two types of trees: Type A is 3 feet tall and grows at a rate of 18 inches per year. Type B is 4 feet tall and grows at a rate of 10 inch
What are the two factors that create metamorphic rocks ?
if you roll a die what is the probability of rolling a 2 or 6?