This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I'm working on a problem that processes an input file of data for a personality test known as the Keirsey Temperament Sorter. (www.keirsey.com for more info) After I get my checkpoint output (which is correct according to my test data), I need to compute and output a second file with the percentage of "B" answers. This is where I get lost- any advice, references, or helpful hints would be welcome.
I've included a link with the instructions for the problem, since they're particularly complicated.
http://www.docstoc.com/docs/116890487/CSE-Summer-Programming-Assignment-Personality And for those concerned, this is NOT a homework problem, merely an extra credit opportunity for anyone who wants to try a challenge. (I have a 97% in the class, but I need the programming practice.)
In response to your questions... I'm lost as to how to get the percentage of the answer B from the information sorted in the method count. What I have doesn't really do anything, and I'm not sure what more to do.
We haven't gotten into OOP yet. We've covered expressions, loops, strings, arrays, scanner- pretty much it. We'll be doing classes next, I imagine.