Please help me this question is givin me so much stress.
This program is for you to get familiar with file IOs in Java as well as writing methods. Write
a program that asks the user for a file name that contains a line delimited records of student
applications. Each record contains student first, last, ACT score and SAT score. Each item in
a record is delimited by a space. Your program should also ask for an output file where
results will be placed. Your program should determine if a student has been admitted or
denied admission based on the admissions standards shown below. Your program should
also write these results to the output file. Example: (User input in bold)
Please enter the name of the file that contains application records: admissions_data [Enter]
Please enter the name of the file that should contain results: results [Enter]
Joe Miller is admitted on ACT and SAT scores
Sara Evans is admitted on ACT score
Bill Murray is not admitted (ACT and SAT scores are below minimum)
Bob Vance is admitted on SAT score
Billy Hillman is admitted on ACT and SAT scores
Harry Connick is admitted on ACT and SAT scores
Mary Hartman is admitted on SAT score
Write the following methods in the program:
• validAct – This method should accept one score as an argument and return
true or false depending on whether the passed score is a valid ACT score.
• validSat - This method should accept one score as an argument and return
true or false depending on whether the passed score is a valid SAT score.
• metAct – This method should accept one score as an argument and return
true or false depending on whether the student met the minimum ACT score
• metSat – This method should accept one score as an argument and return
true or false depending on whether the student met the minimum SAT score
• admitted – This method should accept a valid ACT score and a valid SAT score
as arguments and return true or false depending on whether the student met
the minimum requirements for admission
• outputStatus – This method should accept a boolean value isadmitted, an
application record, and a Printwriter, and it should report to the user that he
Page 4 of 6
Collins, Lu, Shashidhar, & Varol: CS 146: Assignment 3
or she has been admitted and by what criteria, or if the student has not been
admitted and why.
Minimum ACT – 20
Minimum SAT - 1000
Valid ACT range – between 0 and 30
Valid SAT range – between 0 and 1600
If the student has either an ACT above minimum or an SAT above minimum,
the student should be accepted, otherwise the student should be denied.
The class that you will be writing will be called LastNameFirstNameAdmissions.java and
a partial implementation is available to you on Blackboard. Also, you will find an input file
with application records on Blackboard as well. Grading criteria include documentation,
descriptive variable names, and adherence to the coding convention noted on pages 1 & 2.
Your file will have the following header: