Search:

Type: Posts; User: Rain_Maker

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    1,292

    Re: I need help with a for loop project!

    Okay I think I know where the problem is. Please allow me to show you. I think after establishing a point value the dice is then rolled. After rolling and eventually hitting 7 or hitting the point...
  2. Replies
    9
    Views
    1,292

    Re: I need help with a for loop project!

    Okay I re written my code again. I here is the output now.

    Output
    You rolled a 2
    You lose!
    Play again? 1 for YES; 0 for NO:
    1
    Let's play a game of dice.
    Enter "0" zero to roll the...
  3. Replies
    9
    Views
    1,292

    Re: I need help with a for loop project!

    Okay I just reformatted my code to make it allot more easier for both of us. Okay I see a problem here.

    Please enter "0" zero to roll the dice again.
    You rolled a: 8
    0

    Please enter "0" zero...
  4. Replies
    9
    Views
    1,292

    Re: I need help with a for loop project!

    Yeah I'm really sorry. These for loops are really hard for me to format. I was having trouble reading it myself. Can we just start off with formatting? Cause I really don't know who to make it more...
  5. Replies
    9
    Views
    1,292

    I need help with a for loop project!

    Here is my project!

    To play craps, a player rolls two dice repeatedly until he wins or loses.
    If he makes a 7 or an 11 on the first roll, he wins immediately.
    An initial roll of 2, 3, or 12...
Results 1 to 5 of 5