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

16. PLEASE HELP ME Solve the equation by factoring. z2 - 6z - 27 = 0 A. z = 3 or z = 9 B. z = –3 or z = 9 C. z = –3 or z = –9 D. z = 3 or z = –9
Hello everyone! I will be starting a y+ channel soon! If you are interested in RBX content (mainly murder mystery 2) follow this username! (xxxnickslayer101) I
Suppose money invested in a hedge fund earns 1% per trading day. There are 250 trading days per year. What will be your annual return on $100 invested in the fu
Write an essay on a wedding you attended last year in 450 word
define fundamental unit.​
For f(x)=1/x^2-3, substitute h for x in the function to solve for f(h).
Given 4,7,10,13,16. Describe the pattern in your own words.​
PLEASE HELP! Find the accumulated value of an investment of $17,000 at 6% compounded annually for 13 years. (Please show work tho)
Que. I : A mass of 10kg is suspended from the end of a steel of length 2m and radius 1mm, what is the elongation of the rod beyond its original length? Que 2 :
Δ A boy of 12 years does not take bath regularly and does not use a personal towel after shower. Recently dandruff has increased in his head. He is attacked by