/* write a program that first reads the number of students in the course assume that the max capacity of the course is 20 then the program randomly generates grades for each student in the class store grades in the array of integers and finds the average grade */ #include #include #include #define SIZE 20 int main(){ int grades[SIZE], i,num_students, sum=0; double ave; srand(time(NULL)); printf("enter number of students in your class\n"); scanf("%d",&num_students); //validity of the input if(num_students>0 && num_students<=20){ printf("grades are\n"); for(i=0;i