SyntaxFix
Write A Post
Hire A Developer
Questions
You need to move " } " before the line of cout << endl; to the line before the first else .
}
cout << endl;
else