SOLUTION: NVCC Converting Raptor Flowchart Into a Java Program Using Netbeans Exercise

I don’t know how to handle this Programming question and need guidance.

For Task 5, you will be converting your Raptor flowchart into a Java program using Netbeans. Disregard any reference to Lesson 4 in the video. I changed the requirement to turn in the java solution this term. Play Video video Link: https://online.stratford.edu/pluginfile.php/1861454/mod_assign/intro/wk5%20Project%20java%20task.mp4Create your java solution on your VM and submit your project report. Here is the code snippet in Java for using the Random class to create a random number for determining the winning color for each round (If you are not using this in your code then please contact me to explain what you are doing): int winningColor=0; Random rand=new Random(); /// first figure out the round winning color if (rand.nextFloat()<.5){ //rand.next float 0-1 like Raptor Random winningColor=0; } else{ winningColor=1; } Here is the code snippet for using the JOptionPane.showOptionDialog. This is how you would model the user input choice between red and black using a window. You do not have to use this. The output of this code would be 0 for red and 1 for black. int userColorChoice=0; Object[] options={“Red”, “Black”}; //array that stores the choices userColorChoice=JOptionPane.showOptionDialog(null, // component “Select Red or Black”, //Message “Current Bank: $”+bank, //title bar JOptionPane.YES_NO_OPTION, //specific type of options, y,n,c JOptionPane.PLAIN_MESSAGE,//icon in dialog box null, //icon options, //selections from an array options[0]); //default option System.out.println(“Winning COlor is:”+ winningColor); System.out.println(“User chose “+userColorChoice+” (red is 0, black is 1)”);
Now create the Red-Black game in Java (Netbeans) on the Skytap VMs.Make sure you review my comments from Lesson 4’s feedback. After you finish coding the game, MGM would like you to play the game 3 times and see what your average winnings or losses are. You can use any betting strategy you would like. Report on your strategy (e.g. I bet half my bank every round) and your overall bank status for each time you play. *************************OPTIONAL********************************************** Challenge: Can you automate the running of multiple games? Running it just 3 times manually gets a little tiresome. Can you imagine if you ran it 100 times? Part A: Intellectual discussion on how you change the variables and program to work in an automated fashion. Part B: Convert to Raptor or Java (choose 1) limit yourself to 1 hour

Order a unique copy of this paper
(550 words)

Approximate price: $22

Our Basic features
  • Free title page and bibliography
  • Plagiarism-free guarantee
  • Unlimited revisions
  • Money-back guarantee
  • 24/7 support
Our Options
  • Writer’s samples
  • Expert Proofreading
  • Overnight delivery
  • Part-by-part delivery
  • Copies of used sources
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

AcademicWritingCompany guarantees

Our customer is the center of what we do and thus we offer 100% original essays..
By ordering our essays, you are guaranteed the best quality through our qualified experts.All your information and everything that you do on our website is kept completely confidential.

Money-back guarantee

Academicwritingcompany.com always strives to give you the best of its services. As a custom essay writing service, we are 100% sure of our services. That is why we ensure that our guarantee of money-back stands, always

Read more

Zero-plagiarism tolerance guarantee

The paper that you order at academicwritingcompany.com is 100% original. We ensure that regardless of the position you are, be it with urgent deadlines or hard essays, we give you a paper that is free of plagiarism. We even check our orders with the most advanced anti-plagiarism software in the industry.

Read more

Free-revision guarantee

The Academicwritingcompany.com thrives on excellence and thus we help ensure the Customer’s total satisfaction with the completed Order.To do so, we provide a Free Revision policy as a courtesy service. To receive free revision the Academic writing Company requires that the you provide the request within Fifteen (14) days since the completion date and within a period of thirty (30) days for dissertations and research papers.

Read more

Privacy and Security policy

With Academicwritingcompan.com, your privacy is the most important aspect. First, the academic writing company will never resell your personal information, which include credit cards, to any third party. Not even your lecturer on institution will know that you bought an essay from our academic writing company.

Read more

Adherence to requirements guarantee

The academic writing company writers know that following essay instructions is the most important part of academic writing. The expert writers will, therefore, work extra hard to ensure that they cooperate with all the requirements without fail. We also count on you to help us provide a better academic paper.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2020 at 10:52 AM
Total price:
$26
The price is based on these factors:
Customer Academic level
Number of pages required
Urgency of paper