No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Hi Hayati_mahamad, the problem is, the total for point1 to point 5 are not getting accumulated, in the sense, as you can see in the optput, the average is the points entered for the last student divided by number of students, as per the attachment - (points of student 2/2). …
Hi Atlanta15Braves, looking at your class name I think you have this task as your homework :P so, I don't think it's a good idea to give out the solution to you, but I'll be happy to provide you the guidelines and all you have to do is convert it …
As JamesCherrill pointed out, there is a syntax error, but if you change it to `for (int counter = 1; counter < 1; counter--)`, it will not run, because `counter` is initialised to 1, the condition checks if it is < 1, so it fails, and the loop doesn't run. …
Hi ThisIsMeOrIsIt, you have `sc.hasNextInt()` as the while loop condition, which continues even after you have read ur 5X5 data from your file, and at line #26 the program ends up assigning '2' at location `mazeArray[5][0]` which is obviously out of bounds (remember you have array indices 0 to 4?). …
The End.
rohit.deshmukh2009