Dipesh_6 0 Newbie Poster

Hi,
I made this game in c++ but i have some issues when i ask player if they want to play again.

i want the game to reset when they press y but keep their bankbalance from previous game.

here is the pastebin link: https://pastebin.com/pmhVKwxF
sorry if the code is a mess. i have tried so many things and its getting annoying now. Its probably something really silly that i have missed.
Would really appreciate the help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.