Hello,
I need to prompt the user if they want to actually execute the program or not.
Like, "Do you want to run the program, y=yes and n=no"
Then user enters y or n and the program either runs or quits.
I was thinking that would be like:
char answer;
cout<<"Do you want to run the program, y=yes and n=no";
cin>>answer;
if
(answer=y)
//I don't know what to put here to execute the program
else
//Also don't know what to put here to quit