Find the highest (maximum) and lowest (minimum) grades in an array of 25 integer grades. Print the array and print the highest and lowest grades, labeled appropriately
Task: Find the highest (maximum) and lowest (minimum) grades in an array of 25 integer grades. Print the array and print the highest and lowest grades, labeled appropriately. Try to enter all kind of integer grades in your array. Hits of integer grades: A+ is a Letter Grade. A is a Letter Grade. 4 is an Integer Grade. 3.75 is an Integer Grade. So we may assume that 'A+' = 4, A = 3.75 etc. Source Code #include<stdio.h> #include<conio.h> void grade(float grades[],int size) { float min=0,max=0; int i; for(i=0;imax) { max=grades[i]; } } for(i=0;i<size;i++) { if(grades[i]<min) { min=grades[i]; } } printf("\n"); printf("Maximum Grade: %.2f",max); printf("\n"); printf("Minimum Grade: %.2f",min); } int main() { float grades[25],size; printf("Enter the size of an Array:\n"); scanf("%f",&size); printf("Enter the Grade point:\n"); grade(grades,size);