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

Give five rational numbers lying between 3/5 and 4/5. Insert six rational numbers between 3 and 4.
how do you solve the equation 2s+3=14s
WHAT IS 123456567890*1423 THAT MEANS TO DIVIED PLEASE TELL ME THE ANSWER
How do you write I am 10 years old in japenese ( hiragana )
What is social Darwinism and how was it tied to imperialism?
how do you multiply and divide equations?
luisa has 183 pennies. hert dad gives her 128 more write a number sentence to show many pennies luisa has now
what muscles are involved when you're tying your shoe laces
WHAT IS 123456567890*1423 THAT MEANS TO DIVIED PLEASE TELL ME THE ANSWER
What Is a Zionist? Please help me :)