Search:

Type: Posts; User: Kyle Garzon

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    735

    The case for 'S' is in the while loop in Line 29....

    The case for 'S' is in the while loop in Line 29. I have it up on the case line so that it is a recognized as a valid input from the user and doesn't execute the default case. How can I make that...
  2. Replies
    3
    Views
    735

    Multiple Choices in Switch

    I'm writing a Blackjack program where the user can choose to Hit(H) or Stand (S). I would like them to be able to use upper or lower case letter for this. My code doesn't seem to work right for my...
  3. Replies
    5
    Views
    745

    Resolved!

    I fixed the code, which was actually a really stupid easy fix. I made the deal variable global
    :rolleyes:
    Here is my updated code. The next thing I'm doing is adding an if-then statement to see...
  4. Replies
    5
    Views
    745

    So here's what I have so far. Basically down at...

    So here's what I have so far. Basically down at the bottom is my card dealing function. I have it to where it draws the element from the last slot of the array and prints that as the card dealt. But...
  5. Replies
    5
    Views
    745

    I appreciate the solution. In my class we have...

    I appreciate the solution. In my class we have yet to learn about static variables. So I'm trying to solve the issue using only what we've covered in class. Not that helps with anybody trying to help...
  6. Replies
    5
    Views
    745

    Card Dealing function

    So I have to write a simple Blackjack game for school. The only issue I have is making a card dealing function that only deals one card at a time from an array and moves on to the next element in...
Results 1 to 6 of 6