Tuesday, December 14, 2021

Average of Three Numbers in Python

 

Machine Problem in Python

Write a program that will ask the user to give three numbers and then the program will compute the average of the three numbers using Python
programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.






Program Listing

# Jake R. Pomperada, MAED-IT, MIT
# www.jakerpomperada.com and www.jakerpomperada.blogspot.com
# jakerpomperada@gmail.com
# Bacolod City, Negros Occidental Philippines

# Machine Problem in Python
#
# Write a program that will ask the user to give three numbers and then
# the program will compute the average of the three numbers using Python
# programming language.

print()
print("\tAverage of Three Numbers in Python")
print()
a = int (input("Enter the First Number: "))
b = int (input("Enter the Second number: "))
c = int (input("Enter the Third number: "))

average=(a+b+c)/3

print()
print("The average of three numbers is ", average)
print("\n\tEnd of Program")

No comments:

Post a Comment