Learning Goal: I’m working on a java project and need a sample draft to help me

Place your order now for a similar assignment and have exceptional work written by our team of experts, At affordable rates

For This or a Similar Paper Click To Order Now

Learning Goal: I’m working on a java project and need a sample draft to help me learn.JAVA SIX (Arrays and ArrayList) – 20 Points from Gaddis Chapter 7A. S22 – Movie List (8 Points)Write a Java program that creates an ArrayList (pg 476) of 7 movies: Raiders of the Lost Ark, Star Wars, Avatar, Ghostbusters, Twilight, The Avengers, and Jaws. Setup a loop to print the list of movies. Add (pg 477) King Kong-Skull Island after Star Wars. Set (pg 478) Twilight and Jaws to your two favorite movies, then print the list again. You do not need to ask the users for the movies, but you can if you want.Example Print 1:List of Movies————–Raiders of the Lost ArkStar WarsAvatarGhostbustersTwilightThe AvengersJawsExample Print 2:Updated Movie List——————Raiders of the Lost ArkStar WarsKing Kong-Skull IslandAvatarGhostbustersHere Comes the BoomThe AvengersDaddy’s Home 2Hints/Tips:The for loop works well
Use the size of the ArrayList to know when to stop
This is only one program, no class, and you don’t need methods
It took me less than 15 minutes to complete
Rubric:Doesn’t use the ArrayList -100%
Doesn’t populate all 7 movies -5% per movie missing
Doesn’t insert King Kong after Star Wars -10%
Doesn’t replace Twilight and Jaws -10% each
Doesn’t print first list -20%
Doesn’t print updated list of 8 movies -20%
B. S22 – Baseball Scores (12 Points)Write a Java program that keeps up with the scores in a baseball games, then reports them. Ask the user for the home team name and the visiting team name. Set up two arrays that will store the number of runs for nine innings, one for the home team and one for the visiting team. Set up a loop to ask the user for the number of runs scored by each team for each of the nine innings. Write a method (in the same program) that accepts the team name and the scores array (pg 422). The method will write a line that has the team name, the inning scores, and the total score for a team. Have the main method create headings, then call the method to print scores for each team.Example:Team 1 2 3 4 5 6 7 8 9 TotalRangers 0 1 0 0 2 0 2 0 1 6Dodgers 0 0 0 1 0 0 0 1 0 2Hints/Tips:In the loop to get the runs scored for an inning, ask the use how many runs were scored for the home team (Rangers in the example). Then, ask about the visiting team (Dodgers in the example). Be sure to put the inning number in the requestExample: How many runs did the Rangers score in inning 3?
How many runs did the Dodgers score in inning 3?When you print, print the column headings in the main method, then call the print scores method twice, once for the home team and once for the visiting team. Be sure to send the team name.
In the print scores method, create an accumulator to sum the number of runs scored and add it in the loop that prints the scores. You can use print or printf to print each score as long as you don’t use the n escape sequence. After all scores have been printed (the loop is complete), then you can print the total, but make sure to use n or println so that it goes to the next line.
It took me a little less than 35 minutes to complete
Rubric:Doesn’t use arrays to store the number of runs per inning -100%
Doesn’t ask the user for the home team and visiting team per inning -20%
Doesn’t put the team name in the request for a given innings score -10%
Doesn’t show the inning in the request for a given innings score -10%
Doesn’t total the number of runs for each team -10%
Doesn’t ask for both the home and away score by inning -10%
Doesn’t use a method to print the scores -20%

 

For This or a Similar Paper Click To Order Now

Our Features

— 01

Papers Free of Plagiarism

We do not tolerate plagiarism on Eduessaywritingservice. Every paper is written from scratch, so we guarantee 100% original content to our clients. Authenticity is our priority.

— 02

Team of Professionals

Our big team of writers and editors consists of more than 500 talented individuals who love their job and enjoy helping students around the globe. All our specialists have Masters or Ph.D. degrees along with vast experience and brilliant writing skills.

— 03

Free Features

You will get a title page and reference page absolutely for free. Formatting is also free of charge. Besides, if you think that your paper needs revision, you have an option to request it for free.

— 04

Privacy

We guarantee complete confidentiality and safety to every client. On our website, we use encryption as a security method for all orders. Third parties won’t have access to your personal data or bank details.

— 05

Discounts

We strive to make our service affordable for everyone, so our prices are really low even without discounts. But if you are a loyal customer, we will gladly provide special offers for you.

— 06

Affordable Prices

Affordability is our credo. On our website, you can order a paper for 10$ per page. This is the lowest price available on the market.