Suppose you are given a text file "students.txt" that contains the data of students. Every line in the file is composed by the first name, the last name, the score of the test1, the score of the test2...

Java language
Suppose you are given a text file = 60). Each line should contain, the first Name, Last Name, the total score and the string "PASS". The total score is calculated as the following: total= Testl*0.2+Test2*0.2+Final*0.6 "/>
Extracted text: Suppose you are given a text file "students.txt" that contains the data of students. Every line in the file is composed by the first name, the last name, the score of the test1, the score of the test2 and the grade of the final. Write a program that: a. Read the file "student.txt" b. Create a new file named "Result.txt". Write in this file the list of the admitted students (total score >= 60). Each line should contain, the first Name, Last Name, the total score and the string "PASS". The total score is calculated as the following: total= Testl*0.2+Test2*0.2+Final*0.6

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here