on-internet
← Community

How do I add a question at the bottom that asks the user if they want to continue?

Stack Overflow ·

The program is a Student Grade Calculator written in C. It uses an array called myGrades[10] to store the grades of up to 10 students. First, it asks the user to enter the number of students using printf() and scanf(). It then checks if the number entered is valid using an if statement. A for loop is used to collect each student's grade and store it in the array. After collecting the grades, the program initializes the highest and lowest variables using the first student's grade. Another for loop displays each student's grade, compares the grades using if statements to determine the highest an

Comments

Sign in or sign up to comment and upvote.

No comments yet.