Write the code in JAVA
A file named ClassData.txt contains records of several students. Each record contains student's name followed by two tests scores, midterm exam score, final exam score, each score is out of 100. ClassData.txt Ali 80 89 95 75 Yusuf 77 85 89 98 Huda 74 75 72 71 Fatima 99 98 95 96 Write a Java program that reads the data from the file and calculate the total scores for each student as follows: each test 15%, Midterm Exam 30%, Final Exam 40% Finally, for each student the program should print on the screen Student name and his/her result for each student where the result is PASS if the total score is greater than or equal to 60.0, otherwise the result is FAIL.
Write the code in JAVA A file named ClassData.txt contains records of several students. Each record contains student's
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write the code in JAVA A file named ClassData.txt contains records of several students. Each record contains student's
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!