Challenge 18A- StudentArray
Package: chall18A
Class: StudentArray
Write a program that uses a parallel array to take input on a number of students. It will take the following data: Last Name, First Name, Age, Gender, and GPA. Once the input is gathered it will print out a list of the data in columns.
Your program must:
1. Use a scanner to take inputs.
2. Create a parallel array.
3. Be able to enter new student inputs.
4. Print out the database in columns.
Make sure to have a Program Title and comments.
Add these students:
First, Last, Age, Gender, GPA:
Fred Flintstone, 31, M, 2. 5
Wilma Flintstone, 29, F, 3. 9
Barney Rubble, 32, M, 3. 2
Betty Rubble, 30, F, 3. 4