//this program will display average score #include <stdio.h> main() { int x; printf("Number of students: "); scanf("%d", &x); while(x >= 60 && x <= 60) { printf("Quiz 1: "); scanf("%d", &x); printf("Quiz 2: "); scanf("%d", &x); printf("Total Average: "); } printf("Student passed"); printf("Student failed"); getch(); }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more