Helena Zubkow

Greenhorn
+ Follow
since Jun 09, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Helena Zubkow

Okay, here's my attempt at putting the information into a new array. Can anyone tell me where I'm going wrong?


This is my output:
Student 0's correct count is 7
[[I@3e25a5
[[I@3e25a5
[[I@3e25a5
[[I@3e25a5
...
(snip)
...
[[I@3e25a5
Student 1's correct count is 6
[[I@19821f
...
(snip)
...
[[I@de6ced
BUILD SUCCESSFUL (total time: 1 second)
12 years ago
Okay, so I'm still stuck. I can't figure out how to read the data that's being printed into a new multi-dimensional array. I have no idea how to go from what I have now to those numbers going into a two-dimensional array like [0,7][1,6][2,5], etc so that I can sort the new array. Am I supposed to be using the scanner? I have an idea of what I need to do, but I don't know how to do code it.
12 years ago
Awesome, thank you for the tip about the curly braces. I actually did have that happen when I was playing with the code and couldn't figure out why, so thank you.
12 years ago
Thank you, Fred! What a warm welcome. This website is great.
12 years ago
Hi everyone,

I'm pretty new to java and I'm totally stuck on my homework assignment. Can anyone help me with a push in the right direction? What I'm supposed to be doing is to make the output print the students and their score in ascending order. Right now it grades the student and then lists them randomly. I'm thinking that I'm going to need to feed these scores into a multi-dimensional array so that I can sort them, but I'm having trouble figuring out how to do that? Should I be using the Scanner?

Any help is greatly greatly greatly appreciated! Thanks!





12 years ago