Hello,
I am trying to write a function that will read an array of numbers with the count of the numbers. I want to take the numbers and assign them to letters.Then print out the counts of A's, B's,C's,D's and F's. What i have isnt finished but im really frustrated with what i have so far. Just need some guidance...thank you
this is the scale for the grades:
100-90 A
89-80 B
79-70 C
69-60 D
50-0 F
const int MAXSIZE=10;
double Averages[MAXSIZE]={80.2,95,60,49.5,77.8,87.9,99.9,29,76.1,92.5}
char lettergrades[MAXSIZE]={'B','A','B','C','F','D','B','A','A','B'}
//function call
countletterGrade(Averages,MAXSIZE);
//function definition
void countletterGrade(double NAverage, int count)
for (int=index; Naverage<index; index++)
NAverage[index]=lettergades[MAXSIZE];
cout<<lettergrades[MAXSIZE};