I'm trying to write a game using java. its a heads or tails game. the program is going to ask the user to choise either H for heads or T for tails. I'm trying to use a do-while loop and its not working with me. can someone help me writing the game?
plus i'm using JOptionPane.
thank you everyone