Posted by Erika on Thursday, February 9, 2012 at 8:42pm.
Write a program that reads test scores up to 30 into an array. sentinel will stop when -1 is entered.
Write functions that:
1. read the scores into arrays
2. computes the distribution based on whether they are As, Bs and so on
3. find how many students have the same score
4. display the number of studdents, the distribution, number of students with the same score.
This is what I have so far. I have part 1. Now I need help in total the number of students which is based on the number of grades entered. Then I need help with 3. and 4.
using namespace std;
int totalstudents (int);
const int VALS_LEN = 30;
cout << "Welcome to the student test manager!" << endl;
cout << endl;
cout << "Report " << endl;
cout << "______ " << endl;
cout << endl;
cout << "Number of students: " << totalstudents << endl;
void readinfo(int testscores)
for( int studentScores = 0; studentScores < testscores; studentScores ++)
while(testscores != -1)
cout << "Please enter student test scores (or -1 to quit): ";
cin >> testscores;
int totalstudents (int students)
int total = 0;
for (int students = 0; students < 30; students ++)
total = testscores ++;
Answer this Question
Java Programming - Write a program that asks the users to enter five test scores...
Computer Programing & Logic Design - Submit pseudocode and a flowchart for the ...
programming - 2-5 Grade Determination is says " Write a program that will input ...
Programming - Write a pseudocode program that asks the user for an integer ...
Derrick - John kept track of all his math and reading test scores throughout the...
Discrete Mathematics - 3. A tutoring site wants to see how time spent studying ...
Discrete Mathematics - A tutor website wants to see how time spent studying for ...
Programming - Write a program that would calculate and display the results for ...
programming - I am having trouble writing this program for java. can anybody ...
RES/342 - Suppose you devised a training program to raise student scores on a ...