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