Anjeev Singh Academy

Python program to calculate the sum and average of three numbers

Python program to calculate the sum and average of three numbers

#########################################
# Language : Python
# Topic: Sum and Average of three numbers
# Author : Anjeev Singh
#########################################

a = int(input("Enter Number 1: "))
b = int(input("Enter Number 2: "))
c = int(input("Enter Number 3: "))

total = a + b + c
print("\n Sum of three numbers : ", total)

average = total / 3
print("\n Average of three numbers : ", average)


Sorry! You cannot copy content of this page. Please contact, in case you want this content.

Scroll to Top