Answer:
switch (grade) {
case 'A':
acount++;
break;
case 'B':
bcount++;
case 'C':
ccount++;
case 'D':
dcount++;
case 'E':
ecount++;
case 'F':
fcount++;
case 'W':
wcount++;
case 'I':
icount++;
}
Explanation:
prepare (e.g. SQL prepared statements)
parse/convert (e.g. parse a string as an int/convert an array to string)
About six to eight hours