need some help with array comparing program (solved)
Sat Nov 27, 2010 1:38 am
hey, im working on this project for homework and it consists of comparing the elements of one array to another. I had it running but then i did something and it made it give an exception error.
also before i messed that up i was stuck on how to compare the 2 arrays.
any help would be lovely, thanks again!!!
**ATTACHED
Attachments:
File comment: there are 2 java files compressed, drivertestfiles.zip [1.25 KiB]
Downloaded 131 times
_________________ Environmental enrichment (neural), how the brain is affected by the stimulation of its information processing provided by its surroundings.
Last edited by 3nriched on Sun Nov 28, 2010 2:05 am, edited 1 time in total.
private String[] questions; //displays questions. private int correct = 0; //holds amount of correct answers. private int incorrect = 0; //holds amount of incorrect answers. private int qcounter = 1; //counts questions til 20. private int index = 0;
Scanner keyboard = new Scanner(System.in);// holds input
nice dude, i actually made it passed this part earlier today but this helps me with a different problem i have now ..lol thanks again man!
_________________ Environmental enrichment (neural), how the brain is affected by the stimulation of its information processing provided by its surroundings.