when I press number 2 on keyboard it will not display
I don't see this problem, you did run the program again didn't you? run it and go straight for option 2, i expect you will get the same results as the rest of us.
your program will only accept one input before quitting, you may be aware of this but it is the "beginners" section so i choose to err on the side of caution :)
ponasM's suggestion is that you replace the system("xx") call with something that takes input from the user and discards it, that will stop your program and you can hit return to let it finish and exit.
you could equally say std::cin.get();
the cut and thrust of this is that system("") should be avoided, its really for running other programs or DOS box commands.