Question: In Java In this lab, you will work on reading/writing from a file. You will use either File I/O streams to either read or write
In Java
In this lab, you will work on reading/writing from a file. You will use either File I/O streams to either read or write from the file. Example usage is provided below: FileInputStream fis= new FileInputStream(file path); // to read using streams Below is the text file, that should be saved as demo.txt. Student X1 X2 X3 X4 X5 X6 X7 X8 Assign#1 10 6 3 5 8 10 7 1 Assign#2 7 8 10 4 9 5 10 7 Assign#3 8 10 5 7 10 3 6 4 The aim of this problem is to calculate average assignment points for each assignment
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
