1.if sum is 7 or 11 its a win.
2.if sum is 2,3or 12 it a lose
3.if sum is 4,5,6,8,9,10 it becomes your point
4.to win you continue to roll the dice until you make your point.the playwr loses by rollin a 7 before making the point.
requirement:develop the application for three players who will play in a round robin fashin until each has won atleast two times.then exit and display the resultsas follows

player id            number of rolls          number of rolls won

Recommended Answers

All 2 Replies

please explain the code fully am new at this and its not an assignment

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.