Find the average of the given set of numbers.
numbers are: 1,2,3,4,5
average is: 3
cout<<"Enter first number"<< endl;
cout<<"Enter second number"<< endl;
cout<<"Enter third number"<< endl;
cout<<"Average is "<< avg;
Enter first number
Enter second number
Enter third number
Average is 2.000000
-In this program,we take an input of three integer number, and store their average in float variable because average may be of floating type.