Practice with Scanners and Strings



1. http://codingbat.com/prob/p136417

2. http://codingbat.com/prob/p129952

3. Write a program that does the following: Prompt the user for the name of an input file - each line in the input file contains a student's name (first and last), followed by 10 quiz grades and 3 exam grades. For example:

Sam Kent 7 9 5 7 8 9 10 4 6 9  79 84 93
Super Woman 9 9 10 9 10 8 10 9 9 9 100 98 96
Elvis Presley 7 7 8 5 6 9 7 8 5 7 45 78 66

Your program will output each student's name, quiz average and exam average to the file "grades.txt". The output file should look like this. Note the use of tabs on the lines that display students' averages.

Sam Kent  
    Quiz Average: 7.6587
    Exam Average: 85.333333

Super Woman
    Quiz Average: 9.666666
    Exam Average: ...

...