diff --git a/Lab_17/Education.cpp b/Lab_17/Education.cpp index 1f692b3..cc90fc4 100644 --- a/Lab_17/Education.cpp +++ b/Lab_17/Education.cpp @@ -171,7 +171,10 @@ int main() { // F_First_Program_Menu(); - system("pause"); + // Use a safer alternative to pause the program + std::cout << "Press Enter to continue..."; + std::cin.ignore(std::numeric_limits::max(), '\n'); + return 0; } void F_First_Program_Menu() {