Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

#include<iostream> using namespace std; int main() {char answers[]=\"TFFTFFTTTTF

ID: 3615387 • Letter: #

Question

#include<iostream>
using namespace std;
int main()

{char answers[]="TFFTFFTTTTFFTFTFTFTT";
char studanswer[20];
int question,score,ID,grade;
score=0;

cout<<"Please enter the student's ID number ";
cin>>ID;
cout<<"Please enter the student's answers ";
cin.getline(studanswer,20);
for (question[]=0,question<19,question++);
If (answers[question]==studanswer[question])
score=score+2;
else
if (studanswer[question]!=" ")
score=score--;

cout<<"student number "<<ID<<" Has scored a"<<score<<;

switch(int,score/10)
{case 10:
case 9:cout<<"The student's grade is an A";
case 8:cout<<"The student's grade is a B";
case 7:cout<<"The student's grade is a C";
case 6:cout<<"The student's grade is a D";
default :cout<<"The student's grade is a F";}

system ("pause");
return 0;}

When I try to compile this Im getting errors but I can't see theerrors. Can anyone help plz!!!

Explanation / Answer

please rate - thanks remember about flushing the enter out of the input buffer #include using namespace std; int main() {char answers[]="TFFTFFTTTTFFTFTFTFTT"; char studanswer[20]; int question,score,ID,grade; score=0; coutID; cout