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.