Computer Science, asked by yashpatelama1970, 11 months ago

write the program to calculate the average of three given number a + b + c upon 2 in Python​

Answers

Answered by namratamahapatra2003
1

Explanation:

a=int(input ("Enter the first number: "))

b=int (input ("Enter the second number: "))

c=int (input ("Enter the third number: "))

print ("The first number is: ",a)

print ("The second number is: ",b)

print ("the third number is: ",c)

s=(a+b+c)/2

print ("The average of the three given numbers is: ",s)

Similar questions