Write the code in JAVA A file named ClassData.txt contains records of several students. Each record contains student's

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
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

Post by answerhappygod »

Write The Code In Java A File Named Classdata Txt Contains Records Of Several Students Each Record Contains Student S 1
Write The Code In Java A File Named Classdata Txt Contains Records Of Several Students Each Record Contains Student S 1 (9.1 KiB) Viewed 39 times
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply