Under Thread Tools near the top of the page
Type: Posts; User: jps
Under Thread Tools near the top of the page
What is your question now?
What is not working the way you expected? ...and what is it doing instead?
Proper indentation helps errors like this stand out, not to mention it keeps the code easier to read. See how far:
double flip() {
is tabbed in, it should line up with other methods within the...
Please use
before your code and after your code.
void flip() {
flip();
randomNum = (int)Math.random();
} Does this method call itself over and over? What did you intend to do here?