diff options
-rwxr-xr-x | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 830e737..41577d9 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -242,7 +242,8 @@ done: std::cout << "\nSum: " << total_sum; std::cout << "\nTotal: " << total_sum*social_costs << std::endl; - + std::cin.get(); + std::cin.ignore(); return 0; } |