subject
Computers and Technology, 06.05.2020 02:25 nooope

Write a game of Blackjack that functions as follows: Start by dealing two cards at random to the player. Store these cards and the associated values in separate lists. You should remove the two cards from the deck once they have been dealt to the player so they cannot be dealt a second time. Report the player's hand as well as the value of their hand. Next, as the player if they want to "hit" or "stand". "Hitting" means that the player wants another card. "Standing" means that the player is happy with their hand and doesn't want any more cards. If the player chooses to "hit" you should deal them another card (and remove it from the main deck). If their hand is worth 21 points they win the game. If their hand is over 21 points they lose the game (they went "bust"). If they have less than 21 points the process should be repeated (they should be re-prompted to see if they want to "hit" or "stand")

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
Perform the following tasks: a. create a class named testclass that holds a single private integer field and a public constructor. the only statement in the constructor is one that displays the message “constructing”. write a main()function that instantiates one object of the testclass. save the file as testclass.cpp in the chapter 08 folder. run the program and observe the results. b. write another main()function that instantiates an array of 10 testclass objects. save the file as test class array.c . run this program and observe the results.
Answers: 1
question
Computers and Technology, 23.06.2019 13:50
Explain how email technologies enable the exchange of messages between users. find out the typical parts of an email address and explain each part.
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Write a program that asks the user to enter the name of an input file. if the file does not exist, the program should prompt the user to enter the file name again. if the user types quit in any uppercase/lowercase combinations, then the program should exit without any further output.
Answers: 3
You know the right answer?
Write a game of Blackjack that functions as follows: Start by dealing two cards at random to the pla...
Questions
question
Geography, 16.10.2021 01:30
question
Mathematics, 16.10.2021 01:30
Questions on the website: 13722363