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

pls pls help whoever gets it right gets a crown
Location B is which place? Canaan Egypt Syrian Desert Mediterranean Sea
A barbar wants to set up a salon in a room measuring length of 3m by 3m .He has a simple wooden chair,3 large mirrors and one bulb . a) using the knowledge of s
A 40 inch board is to be cut into three pieces so that the second price is 4times as long as the first piece and the third piece is 5 times as long as the first
Im struggling with these 2 problems
If x is 4, a is 1/4, and y is 2, then what is 5x(56a-6y)
9,835/63 what is the answer and what is the remainder
What’s the correct answer answer asap for brainlist
Rahi is pouring concrete to create the foundation of a square deck covering 112 square feet. Which is the best estimate of one side of the deck? Round to the ne
pls pls help whoever gets it right gets a crown