Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #37.0K
Ranked #4K
~6K People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for Hayati_mahamad

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). …

Member Avatar for Hayati_mahamad
0
200
Member Avatar for Atlanta15Braves

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 …

Member Avatar for Atlanta15Braves
0
4K
Member Avatar for william.bishop.7169

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. …

Member Avatar for rohit.deshmukh2009
0
137
Member Avatar for ThisIsMeOrIsIt

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?). …

Member Avatar for ThisIsMeOrIsIt
0
2K

The End.