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

Least Common Multiple of 14 28 42
Can someone please help me
Which word in the following sentence is an in direct objecr? For her birthday, Gary gave Margo flowers. A.birthday B. her C.flowers D.Margo
i will give brainlest
6c-9d=111 5c-9d=103how to solve this problem ​
Pea plants can have alleles for being tall or for being short. A pea plant has one allele for being tall, and one allele for being short. When it grows, it ends
What is the function of the system that is composed of the white blood cells, bone marrow, thymus, lymph nodes, spleen, tonsils, and adenoids? O prevention of b
What type of cost will reduce with the introduction of a CAM system in a manufacturing plant? A. capital cost B. fixed cost C. labor cost D. material cost
-18 > -2(2x + 9) - 4+x​
!!! help with my work