Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

//JAVA PROGRAMMING project// Create a program that helps manage student information. The program will keep track of 2 different students. It will use several concepts

//JAVA PROGRAMMING project//

Create a program that helps manage student information. The program will keep track of 2 different students. It will use several concepts you have learned so far. It will read input files and output a different file that contains a combination of the two input files.

Program specs:

Use JOptionPane for user input.

Have a separate Student class that should contain information about the student.

Ask user for the filename to input. There are 2 files attached to the assignment. It will need to ask 1 time for each file.

The data in student1.txt should be read into the first student instance.

The data in student2.txt should be read into the second student instance.

The file in the data looks like this:

[Student Number]

[Student Name]

[Major]

[GPA]

Ask user for output filename. The output file should be in this format:

[Student Number],[Student Name],[Major],[GPA]

There should be 1 output line in the file for each student.

When finished, the program needs to inform the user that the process is complete.

--------------------------------------------

Below are the images of the contents of the files for the student information. Files are named "student1.txt" and "student2.txt"

-------------------------------------------

image text in transcribed

image text in transcribed

12345 Alvin Arnold Computer Information Systems 3.50 studentl.txt

Step by Step Solution

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

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions