no. You'll need to surround your code with code tags so the parser can corrctly format the data to be sent to your browser. Look on the right you'll see a box called format. The first button on the left is the code tag button. Press this and it will insert code tags into your code, where you paste your code between. If you do this correctly, it comes out like this:
1 2 3 4 5 6 7
#include <iostream>
int main()
{
std::cout<<"Hello World"<<std::endl;
return 0;
};
As far as adding additional parameters, its really hard to do this after you have created your program, especially if everything is hard-coded as it is here.
each function is outputting pretty much the same thing with a little change here and there. This indicates that you are doing something wrong. You ahve a program with 400 lines of code that could be condensed down to maybe 50ish, making it easier to read, easier to find bugs, easier to change. For example all your "food items" could be condensed down in one function.
func define with params
1 2 3 4
int func(int param1, std::string param2){
...
return some_int;
}