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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.