C Language
#include<stdio.h> #include<conio.h> void main() { int a, b, c, d, e, v; clrscr(); printf("Enter 5 numbers"); scanf("%d%d%d%d%d", &a, &b, &c, &d, &e); v=(a+b+c+d+e)/5; printf("Average = %d",v); getch(); } /*OUTPUT*/ Enter 5 numbers 2 3 5 5 5 Average = 4