Beruflich Dokumente
Kultur Dokumente
X
Y
Z
Obviously the number of scores input (XX) should match the totals of A's + B's + C's
etc.
Be sure to calculate the average class score (YY.YY) using the double data type. If
the average is 82.45, I DO NOT want you to round the average to 82 or 82.0. As for
the average class grade, use the average class score, when it is 82.45 that means it is a
B.
Write out a list of variables you think you will need (e.g. int totalAs; // count of
A scores)
Flow chart (or Pseudo code) the selection statement(s) needed to determine if a
score is in the range of an A, B, C...
Flow chart (or Pseudo code) the loop, include the check for -1 input and update
of total variables
In other words, have some idea about HOW you are going to solve the problem,
BEFORE you try to solve the problem.