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

9y=-3x+5 how do I find the slope for this?
Which of these are defining characteristics of language? Select all that apply. arbitrary figurative significant systematic inherent
the vertices of square WXYZ have coordinates W(0,4), X(4,0), Y(0,-4) and Z(-4,0)
What reasoning and explanations can be used when solving radical equations and how do extraneous solutions arise from radical equations?
Velma must make five bottles of lemonade for the kids playing outside each bottle requires 3/4 cup of sugar how much sugar does she need?
Which compound contains both ionic and covalent bonds? (1) N2O5 (3) NaNO3 (2)HCI (4) NaCl
Hey so, I was looking online how to reset my laptop and I ended up pressing load setup defaults and now I get an error saying checking media fail. Also I am not
Queen Nzinga fought against Portuguese influence in what African country?
Joel made egg sandwiches and tuna sandwiches in the ratio 2:3. He then made 15 more tuna sandwiches and the ratio changed to 1:3. How many sandwiches did Joel m
Why did the interstate commerce commissions have difficulty enforcing reforms