Computer Science, asked by Nupurguptak1234, 8 months ago

Program to display the larger number out of the two given unequal number?

Answers

Answered by divyankmaan
0

Answer:

The following is the required program:

number1 = float (input ("please enter the first number. "))

number2 = float (input ("please enter the second number. "))

if number1 > number2:

print("The first number is larger than the second number.")

elif number1 < number2:

print("The second number is larger than the first number.")

else:

print("Both the numbers are equal.")

Please mark as brainliest.

Similar questions