Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you please give me just the algorithm for this program . a2_c125Hs11_211 (1) (Protected View) - Word Jashanpreet Kaur JK o File Home Insert
Can you please give me just the algorithm for this program .
a2_c125Hs11_211 (1) (Protected View) - Word Jashanpreet Kaur JK o File Home Insert Draw Design Layout References Mailings Review View Help Tell me what you want to do Share X i PROTECTED VIEW Be carefulfiles from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View Enable Editing 3.1.2.1.1.1.2.1.2.1.3.1.4.1.5.161.7.12.19. 1:10 | 11 | 12 | 13 -14.1-15 | 16 | 17 | 18 Description of Problem: Write a simple menu-driven game program by using CH programming language. In the main menu screen, players can choose the various options of this game, such a3 1. Help Specify your betting position for the "Three cards 3. Start shuffling the "Three cards 4. Check Player's Performance (Financial status and number of winlose) 9. Quitthus Program When option 3 (Start shufflinn) is chosen the game will immediately show whether the player wins or loses for this game. The win-counter and loss-counter will also be Lupulated and displayed Assuming that there are three cards in this carne Possible betting positions are: positionl ..... from 1 to 10 position2 ..... from 11 to 20 position2 ..... from 21 to 30 The player can place his/her bet on any one of these three positions. If the result of the three cards matches his/her het position, then the player wins: otherwise, the player loses. >> A player can check his/her financial status and winning/losing status by simply choosing the 'Check Player's Pertormance" option from the main-menu Rules for this game: Permissible bets arc position 1. position2, and position3 > Positioni, sum of the three cards must be from 1 lo 10. Position2 sum of the three cards must be from 11 to 20 Position3 sum of the three cards must be from 21 to 30 Whenever the player choose the "Start shuffling" uplum, each of the three cards would be randomly assigned an integer wumber. > Possible tumbers appeared on each card are: 1.2.3.4.5.6.7.8.9and 10. Page 1 of 4 554 words ES Es + ZU16 H Type here to search o W ? 1x ENG 16:38 18-02-2021 99+Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started