Ok so I am trying to find out what I am doing wrong. atm I am usingtwo arrays. O
ID: 3615371 • Letter: O
Question
Ok so I am trying to find out what I am doing wrong. atm I am usingtwo arrays. One for the test answers and the second for the studentanswers. Not sure if Im correct but Im trying to get startedearlier.#include<iostream>
using namespace std;
int main()
{char answers[]="TFFTFFTTTTFFTFTFTFTT";
char studanswer[21];
int question,score;
score=0;
for (question[]=0,question>19,question++);
If (answers[question]==studanswer[question])
score=score+2;
else
if (studanswer[question]!=answers[question])
score=score--;
system ("pause");
return 0;}