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

Given that (-3,7) is on the graph of f(x), find the corresponding point for the function f(x + 5).
The slope-intercept form of the line is
In McCulloch v. Maryland, the Supreme Court ruled that Congress A.can establish state banks. B.has no implied powers. C.can establish a national bank. D. ha
What is one way to recognize symbolism in literature? A. The author states the symbol in the first sentence of the book. B. The author frequently mentions
Read the excerpt from "The Lady Maid's Bell." But that wasn’t the only queer thing in the house. The very next day I found out that Mrs. Brympton had no nurse;
What do complement proteins do? A. They heal tissue. B. They signal phagocytes. C. They transport hormones. D. They cause fever.
What is the formula of slope
[tex] \frac{(a-3) * (\frac{a}{3} +1)}{\frac{1}{3}} [/tex] [tex] \frac{a( \frac{a}{3} ) + a - 3(\frac{a}{3}) - 3 }{\frac{a}{3}} [/tex] [tex] \frac{\frac{3a+a}{3}
The point slope form of the line is
True-breeding pea plants with smooth peas are crossed with true-breeding pea plants with wrinkled peas. All individuals of the first-generation have smooth pea