title: Java Cannot Find Symbol Error In Do loop
body: <p>on the last line of this code Im getting the error that it can't find the symbol wallet. Any help would be greatly appreciated.</p>
  
  <pre><code>int money = money();
  boolean again = again("Ready");
  do {
      int bet = bet(money);
      int wallet = wallet(bet);
      Deck deck = dealDeck();
      int com = comDeal(deck);
      int user = userDeal(deck);
      int userTotal = userHit(user, deck);
      int comTotal = comHit(com, deck, userTotal);
      int winner = whoWon(userTotal, comTotal);
      again = again("Play again");
  }
  while (again &amp;&amp; wallet &gt; 0);
  </code></pre>