Java moving 25 number single demension array to a 5x5 array
Posted
by dalton
on Stack Overflow
See other posts from Stack Overflow
or by dalton
Published on 2010-04-02T01:40:21Z
Indexed on
2010/04/02
2:03 UTC
Read the original article
Hit count: 332
Assign the following 25 scores to a one dimensional int array called "temp"
34,24,78,65,45,100,90,97,56,89,78,98,74,90,98,24,45,76,89,54,12,20,22,55,66
Move the scores to a 2 dimensional int array called "scores" row wise
-- meaning the first 5 scores go into row 0 etc
© Stack Overflow or respective owner