How to store multiple variables from a File Input of unknown size in Java?
- by AlphaOmegaStrife
I'm a total beginner with my first programming assignment in Java.
For our programming assignment, we will be given a .txt file of students like so:
3 345
Lisa Miller 890238 Y 2 <-(Number of classes)
Mathematics MTH345 4 A
Physics PHY357 3 B
Bill Wilton 798324 N 2
English ENG378 3 B
Philosophy PHL534 3 A
Dandy Goat 746333 Y 1
History HIS101…