Need help with java program
I have a program to make that involves me creating a text file that holds the top five scores from a guessing number game. i have to display the top five scores in order from greatest to least before the game starts. then the game starts and after the game ends the score from the user will be saved in the file and will go through the process of where it stands in the order of the scores.
when reading the input file in i have to display it through an array code also.
&& the output file for the top five scores has to write over the old score file instead of creating a new file.
omg i need help badly...please anybody