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
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