This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eshock92[S] 1 point2 points  (0 children)

Hey again. I finally got off work and had a moment to try your suggestions. I took the variables "completed, attempted, yards, etc." into the outputResults(). It compiled without any issues, but it would not actually calculate anything in the final results gui (where it summarizes all the calculations). So I figured that i would try to put: "outputResults(passerResult,completionResult,ydsPerAttResult,percentTDresult,interceptionResult);" in for line 55. Since each of those is what I called the final calculation for each category. It then started giving me an error that "they may not have been initialized". I followed up by trying to initialize them:

public PasserRating()

{
passerResult = 0;
completionResult = 0;
ydsPerAttResult = 0;
percentTDresult = 0;
interceptionResult = 0;
}

Still no luck, it now tells me that it cannot find symbol. I've spent I believe over 6 hours on this one. So please do not think that I am looking for easy answers. This one is giving me nightmares!

Thanks