Write A Python Program To Find Max Between Two Numbers.
Write A Python Program To Find Max Between Two Numbers.
Code:
num1 = int(input("Enter The Number 1 :"))
num2 = int(input("Enter The Number 2 :"))
if num1>num2 :
print(num1,"is Greater")
else :
print(num2,"is Greater")
Output:
Enter The Number 1 :25
Enter The Number 2 :26
26 is Greater
Enter The Number 1 :99
Enter The Number 2 :97
99 is Greater
Comments
Post a Comment