

Hey guys I am having a problem with my java program which consists of a huge score. Please solve that program for me. I would be very thankful. Here is the question :
Q)For research purposes and to assist students, the admission office of your local university wants to know how well female and male students perform in certain courses. You receive a file that contains female and male students GPAs for certain courses. The letter code f is used for female students;m is used for male students . Every file entry consists of a letter code followed by a GPA. Each line has one entry. The number of entries in the file is unknown. Write a program that computes and output the average GPA for female and male students. Format your results to two decimal places.
Thank you in advance...
Jai Nepal