Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Generate an application (in Java) that calculates the grades of a group of students. The program must follow these specifications: Declares 2 arrays: 1 single

Generate an application (in Java)  that calculates the grades of a group of students. The program must follow these specifications:

  • Declares 2 arrays: 1 single String array to contain the name of the students and the second a double two-dimensional to hold the grades of the students.
  • The program must allow the user to enter all names and grades.
  • The program must print names and grades using the character t to tabulate your output.
  • The program must use 2 decimal formal in the output.
  • The program must calculate the average grade per student and print it at the end of each row.

 

Desirable output:


 

Add a heading line before you print both arrays. This heading is only a decoration user-friendly heading line. Don't forget to use t to tabulate. 

 

The Average must be store in the last column of your 2D array.

 

Desirable output:


 

Second Part:

 

Using the same instructions from the first part; Implement the Gradebook app using ArrayList.

Gustavo Alatta Paul Bierbauer Nick Thomas Jane Durbin Jack Hemphill 90.00 88.15 90.50 100.00 80.00 80.25 80.00 70.00 75.50 80.00 60.00 73.10 100.00 100.00 90.50 96.00 98.00 96.90 95.00 98.00 100.00 100.00 100.00 95.00 80.00 70.00 76.00 90.00 50.00 73.20

Step by Step Solution

3.42 Rating (161 Votes )

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions