forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice array2d > fill2D
prev  |  next  |  chance

Fill a 2-dimensional array of integers with 1's, except where the row number is the same as the column number, fill those with 3's

...Save, Compile, Run (ctrl-enter)

public int[][] fill2D(int[][] vals){ }

Editor font size %:
Shorter output

Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 220 Post-solution available

Copyright Nick Parlante 2017 - privacy