Seudónimo Seudónimo
  • 09-01-2021
  • Computers and Technology
contestada

Sonja is writing a program to compare two numbers and print the larger number. Which of these should be used?
a while loop
if and else
if, elif, and else
a string variable

Respuesta :

trduunze trduunze
  • 09-01-2021

Answer:

if and else

Explanation:

if (num1 > num2):

   print(num1)

else:

   print(num2)

Answer Link

Otras preguntas

what's the area of this circle?
not working for me :::need help-3 < 3 x -5 < 4
what is the value of x if 6 + 7 - 9 + 4x = 12
what is the value of x if 6 + 7 - 9 + 4x = 12
One number is four times another number. If their sum is 95, what are the numbers?
what is 14% of $59.99 and how do I figure this problem?
a rock is dropped into a well hits the water in 5 secs. if there is no air resistance, what would be the rocks final speed?
how do I find the volume of a rectangular prism.?
how many 6ths are there in 3 and a third?
Convert 1.00atm of pressure to its equivalent in millimeters of mercury.