There are some more problems with your codes:
1. You never initialized the variable "removed", yet you used it to keep track of the turns:
removed += turn; //Keep a running total of turns
This will lead to unpredictable behaviour.
2. Why use double for all the variables? Since you are dealing with discrete items like coins, you should use integer instead.
3. You should use while-loop for your validity checks. Using if-statement will only check once.