Q. Write a program to find the average of 3 numbers.
Answer:-
num1 = int(input("Enter First Number :- ")) num2 = int(input("Enter Second Number :- ")) num3 = int(input("Enter Third Number :- ")) Average = (num1 +num2 + num3)/3 print("Average of three numbers is :- ", Average)
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )