Hi, I am new here. I am not looking for this to be solved for me but for a suggestion of how to fix this :-) -- I took a for loop problem, and tried to convert it to a 'do while'.
The goal is for the sandwich order to calculate cost, but also ask the user if they want to continue if input that is not choice : 1, 2 or 3. Also - should I be making the choices int vs string?
int main() // <==== don't put a semicolon here
{ // <==== starts the main function statements
// Do your stuff here
} // <==== ends the main function statements
It looks like you tried to write far too much code at once.
That error list may not be complete, it is just what was obvious from the error list Visual Studio vomited up and what I noticed at a quick glance.
When confronted by multiple compile errors tackling/fixing the errors one at a time, preferably from the top down, more often than not will make some or all of following errors disappear.
In C++ int main(void) is not invalid, but not recommended. It is the C way to write the main function that doesn't use any parameters passed to it by the OS.