Question: The code above run perfectly fine however, I need to display the face card ACE and then it gets its assigned value of one. I

 The code above run perfectly fine however, I need to display

the face card ACE and then it gets its assigned value of

one. I included how the program should look as well as how

it looks when I run my code. te Code Analyge Sefactor Build

Run Tools VCS Window Help Blacgack import jara.util.Scannerz public elass Slackjack publie

ststie roid main (string[] arga) t systen. out.println("gTAR, while(tzue) t aast#- +

ganellum _in"); + PiRandom rag new P1Random(); apRand rng.nextInt( imit: 13) *

The code above run perfectly fine however, I need to display the face card ACE and then it gets its assigned value of one. I included how the program should look as well as how it looks when I run my code.

te Code Analyge Sefactor Build Run Tools VCS Window Help Blacgack import jara.util.Scannerz public elass Slackjack publie ststie roid main (string[] arga) t systen. out.println("gTAR, while(tzue) t aast#- + ganellum _in"); + PiRandom rag new P1Random(); apRand rng.nextInt( imit: 13) * 1; aystes.ort.printin ("Tour card is a " + myHand + -!"); System.out-"Your hand ia: "yHand ") printin( System.out-printin("1. Get another card") System.out.print.ln("2. Hold hand") Systen.out-println ("3. Print statiatica") 8ystem.out-println("4. Exitin") System.out-print ("choose an option: ") senuchoice useroption.nextlnt(); out.printin0 case // I inieially ased if statemants so so handle hon sen aylland rng.nextInt ( imit: 13): System. out.printin("Your card is a AcZ1) got the idea of assiing he ae saads Blacijack maino

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!