Hi, all
All I want to do is to ask the user to keep inputting a "1" for tossing the coin. The program should keep a running total of how many "heads" and "tails". When the the user enters "2" the program should output the running total for both heads and tails.
As it codes now, the user is prompted only one time because I wanted to
test for bugs and for logic errors, keeping it simple.
Here is my test class:
And here is my source class: