I would also say your main method is much too long. It should look something like this:-Actually you should have an entire class which looks like that. You can consider creating two GradeScore instances (particularly if you have two files) and you may need to put the method calls in a different order. And you will need to do something more with the print calls.
Now you should find that corresponds to the grades scores class so you can call all the methods in turn.
And welcome to the Ranch
posted 5 years ago
If you want to count command‑line arguments then this is the correct usage:-Since you are supposed to be writing object‑oriented programming, expunge the word static from your vocabulary (except for the main method).