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

What are things you can do to manage the risks in your life to reduce any financial losses?
In japan, the emperor had more power than a shogun. a. true b. false
When their period of service ended, indentured servants A) had to pay the landowner "freedom dues". B) were forced into slavery. C) lost land they owned. D) cau
Which statement is true regarding DNA? A. Contains a single strand of nucleotides B. Traveles to ribosomes for protien synthesis C. Contains uracil in place of
Arturo invests $2700 in a savings account that pay 9% interest, compounded quarterly. If there are no other transactions, when will his balance reach $4550?
in the vedic age what types of goods were traded most often
4/y+3 + 5/y-6 = 9/y+4 . solve the equation
A benefit of using good human relations is that you will
Two similar triangles are shown below: Two triangles are shown. The sides of the triangle on the left are marked 6, 8, 4. The sides of the triangle on the right
what is the equation of the line, in general form, that passes through the point (1, 1) and has a y-intercept of 2.