I have a three part assignement but if I can figure out this first one I will be good with the other two. I am not quite sure what they want me to do, do I need to make a program that tells if they 100 students grades inputed are failing or passing? Do I enter 100 test scores, or do I make a loop to add one point to each test score? I am confused!
Here is the problem:
Use the following declarations in Exercise 1-7. You may declare any other variables that you need.
Code:
cont int NUM_STUDS = 100;
bool failing [NUM_STUDS];
bool passing [NUM_STUDS];
int grade;
int score[NUM_STUDS];
Write a C++ function that initializes all components of failing to false. The failing array is a parameter.