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

A camera is an example of ____. a. an experiment c. technology b. a robot d. a scientific method
when h has the value 4, calculate 5h - 3? Urgent help needed!!!!!!!
How is the value of 2 in the number 542 different than the value of 2 in the number 324?
Whys is it helpful to write a number as a product of primes
Whys is it helpful to write a number as a product of primes
how u write an inequality for brigitte is shorter than 5 feet (brigitte height =h)
In which taxonomic phylum is ginkgo classified? a. Gnetophyta b. Cycadophyta c. Anthocerophyta d. Ginkgophyta
A Sports arena covers 710,430 square feet of ground. A newspaper reported that the arena covers about 700,000 square feet of ground. To what place value was t
Oxygen enters the ocean through mixing and photosynthesis. true or false?
Being rejected by a peer group can negatively influence one's self-esteem.