Question: I have a coin flip project for java. the coin flip and count work fine, but we are also supposed to have a seperate function
I have a coin flip project for java. the coin flip and count work fine, but we are also supposed to have a seperate function (flip) that returns true for heads and false for tails on each toss. Haven't been able to get that to work. Also, it is unclear whether or not the assignment requires an image of a coin to display heads or tails with each toss. Just in case, help with that would also be appreciated. Here is the code I have...Thanks.
Coin Toss Simulation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
