this is my first Java course and i am having troubles doing one of the assignments... well i am suppose to read a file containing grades of students...here is an example
034-23-8901 45 78 85 34
342-67-1231 98 45 67 45
452-57-2351 49 78 61 52
the first 9 digits are the social security of the student and the other numbers are the grades. well i am suppose to open this file ( it is name Grades.txt) somehow i am suppose to read the grades and find the average if the student has an average of 90 or above he will be excluded from the final and then my program has to write an outFile named Exemption.txt... it seems very easy but i just can't get it to work...
My question is do i have to use the tokenizer to separate the numbers... if it is possible how can i do it?
Please i will appreciate any help...