//Write a Program to calculate average of four numbers
#include <iostream.h>
#include <conio.h>
void main ()
{
int a,b,c,d,avg;
clrscr ();
cout <<"Enter 5 Numbers";
cin >>a >>b >>c >>d;
avg =(a+b+c+d)/4;
cout <<"\n Average is: "<<avg;
getch ();
}
Free C programs with output, C++ (C plus plus), programs c programming language, object oriented programming, c programs codes, c program shortcuts, history of c programming language, c programming compilers