Craps is a popular gameplayed in casinos. write a program to play a variation of
ID: 3614995 • Letter: C
Question
Craps is a popular gameplayed in casinos. write a program to play a variation of the game,as follows:Roll two dice. Each die has six facesrepresenting values 1, 2, ...., and 6, respectively. Check the sumof the two dice. If the sum is 2, 3, or 12 (called craps), youlose; if the sum is 7 or 11 (called natural), you win; if the sumis another value (i.e., 4, 5, 6, 8, 9, or 10), a point isestablished. Continue until you roll either a 7 (you lose) or thesame point value (you win).