I decided just to end the game, If they get it correct, they can move on to the next turn. If they do not get it correct after the second attempt, the game is over. I'm not sure how to do that from a function
You could put that code in a function that's called from main(). The function might return true/false depending on whether the user wants to play again or not.
thanks but that does pretty much what I have. I decided just to end the game, If they get it correct, they can move on to the next turn. If they do not get it correct after the second attempt, the game is over. Thanks again