Analzying a table of 1's and 0's using methods

There are a whole bunch of errors, but this should get you started.

Outside of any method, put

static int[][] nums = null;            
static int[][] sample = null;

And then inside scanInfo, change the lines to

nums = new int[rows][columns];
sample = nums;

Also, call scanInfo() from main().

Browse More Popular Posts

Leave a Comment