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

Function main

Lab_20/Person.cpp:391–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391int main()
392{
393 for (int k = 0; k < 1000; k++)
394 {
395 system("cls");
396 cout << " M A I N M E N U\n"
397 << "-------------------\n"
398 << " 1. First Program\n"
399 << " 2. Second Program\n"
400 << " Your choice: \n";
401
402 switch (_getch())
403 {
404 // First Program
405 case 49:
406 system("cls");
407 F_First_Program();
408 system("pause");
409 break;
410
411 // Second Program
412 case 50:
413 system("cls");
414 F_Second_Program();
415 system("pause");
416 break;
417
418 default:
419 cout << " Your choice is not available in Menu.\n Please try one more time\n\n";
420 system("pause");
421 break;
422
423 } // switch
424 } // for loop
425
426 system("pause");
427 return 0;
428}

Callers 2

F_First_ProgramFunction · 0.70
F_Second_ProgramFunction · 0.70

Calls 2

F_First_ProgramFunction · 0.70
F_Second_ProgramFunction · 0.70

Tested by

no test coverage detected