i need to write a program that- allow the user to enter the number of students-allow the user to enter each mark-calculate the frequency for each mark-the interval that exists between identical marksthis is what i have donei want to know if there is a different way of doing it
#include
#define maxsize 200
int main(){
int x,i,j;
int marks[maxsize];
int frequency[maxsize];
int interval[maxsize];
printf("Enter the number of Students: ");
scanf("%d",&x);
while(x