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

According to harlow and zimmerman’s research with cloth and wire surrogate mothers, _____ is the most important variable for attachment.
50 POINTS!!!!!!! The pump used to fill the water tank on a fire truck takes 40 minutes to fill the tank. If the pump sending water to the hose is on, it takes 6
what is the paradox of plenty?
Which word in the sentence is the predicate nominative? Soon, she will be a family doctor in our town. A. doctor B. she C. town D. Soon
How many inches are in 12 feet?
In how many countries can people vote for their leaders?
Mike observed that 75% of the students of a school liked skating. If 35 students of the school did not like skating, the number of students who liked skating wa
How did the Atlantic slave trade affect interactions among Africans?
The students _____ to see the Great Sphinx of Giza, which _____ very popular with tourists. Which verbs agree with the subjects in the sentence? A. wants, i
Put y 7=1/2(x 2) in standard form standard form: ax by=c