Craps Game on C language!! Help!?

Kindom2009

New member
Ok I'm new to this C language and the professor is the worse! does anyone know the code of this!

This game is played with two dice. Each time the pair of dice is tossed, the sum of the two numbers that come up is used. The sum will be integer the number between 2 and 12 since the faces of each dice are number 1 to 6. The player immediately wins if he tosses 7 or 11, and losses immediately if he tosses 4,5,6,8,9, or 10 then the number becomes his points. He then repeats tossing the dice until he wins by making his points or he losses by tossing a 7.
thanks!!
HE SAID TO USE RAND()/10%6 TO GET NUMBER BETWEEN 1 AND 6
 
Back
Top