## C program to find the average of two numbers

In this program we will calculate the average of two integer numbers. #include<stdio> int main() { int num1 = 12, num2 = 16, result; result = (num1 + num2)/2; printf("The average is %d", result); return 0; } Explanation In this example we are using the mathematical formula to find average …