Please be easy on me, I'm still a new programmer.
//The idea is that the program displays the words after cout whenever the case is selected. I hope you understand this, i'm not very good at posting tags.Code:using namespace std; void Trailer(); void Cookies(); void TurtlePower(); int main() { int x; switch (x){ case 1: cout<<"Trailer"; // This is where I want it to display the word Trailer... break; case 2: cout<<"Cookes"; // This is where I want it to display the word cookies.... break; case 3: cout<<"Turtle Power"; // This is where I want it to display the words Turtle Power... break; } cin.get(); }



LinkBack URL
About LinkBacks


