MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / main

Function main

Lab_19/main.cpp:225–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225int main()
226{
227 for (int k = 0; k < 1000; k++)
228 {
229 system("cls");
230 cout << "M A I N M E N U\n"
231 << "-------------------\n"
232 << "1. First Program\n"
233 << "2. Second Program\n"
234 << "3. Third Program\n"
235 << "Your choice: \n";
236
237 switch (_getch())
238 {
239 case 49:
240 system("cls");
241 F_First_Program();
242 system("pause");
243 break;
244
245 case 50:
246 system("cls");
247 F_Second_Program();
248 system("pause");
249 break;
250
251 case 51:
252 system("cls");
253 F_Third_Program();
254 system("pause");
255 break;
256
257 case 48:
258 return 0;
259 break;
260
261 default:
262 cout << "Your choice is not available in Menu.\nPlease try one more time\n";
263 system("pause");
264 break;
265
266 } // switch
267 } // for loop
268
269 system("pause");
270 return 0;
271}

Callers 2

F_Second_ProgramFunction · 0.70
F_Third_ProgramFunction · 0.70

Calls 3

F_Third_ProgramFunction · 0.85
F_First_ProgramFunction · 0.70
F_Second_ProgramFunction · 0.70

Tested by

no test coverage detected