the compiler says that line #15 has errors. that line is the first cout. it says missing terminating "character

what the heck am i missing here.

09-23-2004

jlou

The error I get is on line 21, the first cout inside the if. It is because your string doesn't have a trailing " on that line. Your string can span two lines, but you must have both lines in their own quotes, or use a forward slash to continue to the next line and remove the quote there.

09-23-2004

master5001

If your compiler supports it, you can attempt to do what you are doing by putting a '\' at the end of the above line. But its best to do as jlou suggested as all compilers accept: