0
Average of Two Numbers
I am building a calculator that find the average of two numbers, and I don't know how to go about it
2 Antwoorden
+ 4
dayeabasi kingsley
# Only 2 numbers is:
num1 = int(input())
num2 = int(input())
print((num1 + num2)/2)
0
a = int(input('Enter the first number : '))
b = int(input('Enter the second number : '))
av = (a+b)/2
print('Average is :', av)