I am working on a programming that uses classes to complete several tasks. I have successfully created a program that reads in the opponent name, home score, and opponent score for a team's season. Now I'm trying to go back and write a method that can be used to output the maximum score achieved by the home team and the opponent they were playing during that game. I know the basic logic that needs to be used in this method: a for loop should be used to navigate the data file, etc. But I can't figure out how to get OpponentName and HomeScore to be for lack of a better word 'grabbed' from the file and then saved as the maximum score that will eventually be outputted. Please Help!!!
lkegley 0 Newbie Poster
valtikz 36 Junior Poster in Training
lkegley 0 Newbie Poster
jonsca 1,059 Quantitative Phrenologist Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.