Math, asked by jabeenrizwan391, 7 months ago

42) Write a Python program to find the largest of three numbers.

Answers

Answered by shruti6687
0

Answer:

Why we have to write??????

Step-by-step explanation:

please follow me on the brainly and Mark me as brainlist and Thank my answer.

Answered by atrs7391
2

num1 = float(input("Enter first number: "))

num2 = float(input("Enter second number: "))

num3 = float(input("Enter third number: "))

if (num1 >= num2) and (num1 >= num3):

  largest = num1

elif (num2 >= num1) and (num2 >= num3):

  largest = num2

else:

  largest = num3

print("The largest number is", largest)

Similar questions