Help me write a program in c that show information of 10 students
And prints the results, ( stud No., Stud reg No., Fname, lastname,course and year of study) Enter results for any 2 course untis and carryout the following stats Compute mean, max I know nothing //C program for entering details in an array. #include <stdio.h> struct student { char fName[50]; int studno; float marks; } stu[10]; int main() { int i; printf("Enter information of students:\n"); // storing information for (i = 0; i < 5; ++i) { stu[i].studno = i + 1; printf("\nFor roll number%d,\n", stu[i].studno); printf("Enter first name: "); scanf("%s", stu[i].fName); printf("Enter marks: "); scanf("%f", &stu[i].marks); } printf("Displaying Information:\n\n"); // displaying information for (i = 0; i < 5; ++i) { printf("\nRoll number: %d\n", i + 1); printf("First name: "); puts(stu[i].fName); printf("Marks: %.1f", stu[i].marks); printf("\n"); } return 0; }