Question: Assignment 4: Blackjack Assignment Overview The goal of this assignment is to practice developing algorithms, pseudocode, and flowcharts. Use the python language to write this

Assignment 4: Blackjack Assignment Overview The goal of this assignment is to practice developing algorithms, pseudocode, and flowcharts.

Use the python language to write this program. You can use either IDLE or Pycharm

Part 1: Design an algorithm that will prompt the user for the numerical value of two cards. The program will receive the two numbers and display their sum on the screen. If the calculated sum is 21, an asterisk is to be displayed beside the sum. The program shall end when two zeros are entered. The program shall print a welcome message when it is first started and a goodbye message when it terminates.

Part 2: Modify the algorithm to allow the user to enter the face cards as J, Q, K or A. If the user enters J, Q, or K then convert the entered value to 10. If the user enters A then count the value as 11 points. Do not use the while true in the algorithm in the program. Use while is not to 0

Part 3: Modify the algorithm to allow the user who receives the A to designate it either as 1 or 11.

Deliverables: For each part 1, 2, and 3 you are to turn in both a flowchart and the pseudocode required to write the program in any language so the flowchart and pseudocode need be to easy to understand..

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!