ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 11 May 2017 My Price 8.00

Create a program to allow a user to play a modified “craps” games

Create a program to allow a user to play a modified “craps” games. The rules will be as 

follows: 1) User starts with $50.00 as their total. 2) Ask the user for their bet (maximum bet is their current total). 3) Throw a pair of dice. a) If the total value is 7 or 11, the user is an instant winner. The user has the amount bet added back into their total. Ask the user if they wish to play again and if so 

they start at step two above. b) If the total value is 2, 3, or 12, the user is an instant loser. The user has the amount bet deducted from their total. Ask the user if they wish to play again and if so they start at step two above. c) If the total is anything else, remember this total as the “point” and roll again. i) If the new total is equal to the “point”, the user wins and the process is the 

same as winning in (a) above ii) If the new total is a 7, the user loses. And the process is the same as losing in (b) above. iii) If the new total is anything else the user must roll again and again try to match the “point” of the first roll.

 

anyone here can help me with this please?

Answers

(11)
Status NEW Posted 11 May 2017 08:05 AM My Price 8.00

-----------

Not Rated(0)