I am trying to write a program using switch. I keep getting a syntax error at line 19.
This is the error that I get: program testing\switchexample\switchexample.cpp(19) : error C2143: syntax error : missing ';' before '<<'Code:cout << "Enter the letter grades." << endl; << "Enter the EOF character to end input." << endl;
I have tried numerous ways to correct this error to no avail. Looking at examples in my books it looks to me like it is correct. It may be that I have worked on this so long that I am making the same mistake everytime I try to correct the code.