how to add pause in c++ code example Example: pause the console c++ // This is only one of many ways but you can use getchar();