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

The quantities of x and y are proportional. Find the constant of proportionality (r) in the equation y= rx
Which sentence uses a hyphen correctly? A) The neighborhood is always filled with sleepy men-walking-dogs at 7 a.m. B) Rhonda was so excited when her noise-can
What is a simplified expression for the perimeter of the polygon?
2 which events led to the Spanish-American War?
When the supervisor-to-subordinate ratio exceeds manageable span of control, additional Teams, Divisions, Groups, Branches, or Sections can be established. Whic
What is the inverse of the function f(x)=8x+1? f^{-1}(x)=
what are the types of snakes in Africa?​
Find the dimensions of an American football field. The length is 200 feet more than the width, and the perimeter is 1040 feet. Find the length and width?
BE RIGHT! PLEASE! And fast!
Read the scenario. A car moves 30 mi/h to the north. Every second, the velocity increases by 3 mi/h. Which option represents the acceleration as a vector quanti