22. Write a program to input three numbers from user and find the largest of three numbers.
Answers
Answered by
1
Answer:
Explanation:
x=input "Enter first number"
y=input "Enter second number"
z=input "Enter third number"
maxnum=max(x,y,z)
print("Result max is =" +max)
Answered by
1
- #PROGRAM TO INPUT 3 NO'S
- x = eval(input("Enter the no. X::"))
- y = eval(input("Enter the no. Y::"))
- z = eval(input("Enter the no. Z::"))
- Largest_no=max(x,y,z)
- print("largest no is::,Largest_no)
Attachments:
Similar questions