I'm new at C++ and i've run an error list but i'm not sure what else is. Here's my code.
//Specification: Display a menu
//Find Errors in this program
"Choose From Martha's Menu:/n";
"1 - Dinner"
cout << endln << 2 -
cout << endln <<
"3 - Breakfast";
"Enter a number:"
Choice = 0;
cin >> choice;
"\n You Choose " << choice;
endln doesn't exist. endl does.
cout << "1-Dinner" << endl << "2-Lunch" << endl .... ;
cout << "Enter a number";
And after #include <iostream>, please add: using namespace std; to use the cin, cout and other members in the namespace.
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.