then cout a 1d array to calculate the grade of this 6 tests.
The answer of the test is TTFFT, each question is worth 5 points, so in the 1d array, it will contains 6 numbers which are for the grade for each test. (they share the same answer)
so what do i need to put at the end of cout to seperate every 5 "TF"s, and make 6 rows?
if i take off the "endl", if prints a 1d array shows all "TF"s.
the homework is required to use a 2d array to print out this
TFTTT
TTTTT
TTFFT
FTFFF
FFFFF
TTFTF
then use a 1d array to calculate the grade of each test.
each row is a test, each "T" or "F" is the answer of the question in the test.
each test has 5 question.
all of the tests use the same correct answer "TTFFT". I need to use this correct answer to compare each test and calculate the grade.
I didnt do it on papaer.
sorry, I think my words mislead you.
I am trying to modify, but i couldnt figure. =(