Find the average of the given set of numbers.
numbers are: 1,2,3,4,5
average is: 3
printf("Enter first number\n");
printf("Enter second number\n");
printf("Enter third number\n");
printf("Average is %f",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.