Question: I need to create the program in C++. I have created a 2D array but can't figure out how to compare it. Like to show

 I need to create the program in C++. I have created

I need to create the program in C++. I have created a 2D array but can't figure out how to compare it. Like to show which student had(by count) and how many True/False answers. Please see the code below: Thanks!

#include using namespace std;

int main() { const int ROWSIZE = 9; const int COLUMSIZE = 10;

string matrix[ROWSIZE][COLUMSIZE] = { {"A", "B", "A", "C", "C", "D", "E", "E", "A", "D" }, {"D", "B", "A", "B", "C", "A", "E", "E", "A", "D"}, {"E", "D", "D", "A", "C", "B", "E", "E", "A", "D"}, {"C", "B", "A", "E", "D", "C", "E", "E", "A", "D"}, {"A", "B", "D", "C", "C", "D", "E", "E", "A", "D"}, {"B", "B", "E", "C", "C", "D", "E", "E", "A", "D"}, {"B", "B", "A", "C", "C", "D", "E", "E", "A", "D"}, {"E", "B", "E", "C", "C", "D", "E", "E", "A", "D"} };

string keys[] = { "D", "B", "D", "C", "C", "D", "A", "E", "A", "D" };

for (int i = 0; i

if (matrix[i][j] == keys[j]) j++; cout

} cout Objective: write a program that grades multiple-choice test. Students' Answers to the Questions: 0 1 2 3 4 5 6 7 8 9 Student o Student 1 Student 2 Student 3 Student 4 Student 5 Student 6 Student 7 A B A ccDE E A D DBABCAE E AD EDDA CBE EAD CBAE DCE EAD ABD CCDE E A D E ccDE E A D BBA ccDE E A D EBECCDE EAD Key to the Questions: 0 1 2 3 4 5 6 7 8 9 Key DBDCCDA E A D

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!