Quick c++ question
I am writing a simple program that executes a certain set of operations depending on the user's input. my questions is, what code can i use to make my program execute some commands when the user enters 'operation1' or 'operation2'?
For example,
If the user enters 'hello1', then execute this......
If the user enters 'hello2', then execute this....
Thanks!
|