Python Program: Find the largest/maximum number out of three integers.
##############################
# Language : Python
# Topic: Check given Number is Odd or Even
# Author : Anjeev Singh
#############################
num1 = int(input("Enter a Number 1: "))
num2 = int(input("Enter a Number 1: "))
num3 = int(input("Enter a Number 1: "))
largest = num1
if num2 > largest:
largest = num2
if num3 > largest:
largest = num3
print("Largest Number is ", largest)
#End of program
Output:
Enter Number 1: 10
Enter Number 2: 25
Enter Number 3: 15
Largest Number is 25