Cpp Simple Program For Finding Average
Finding average is one of the simplest programs. Here we input 5 variables, then added together for ‘sum’ and the ‘sum’ is divided by the 5 to produce the average.
//program to find average.
cout<<"Enter the 5 elements\n";