not a lab3 lab3
This commit is contained in:
@@ -36,8 +36,8 @@ public class MP1_CalebFontenot {
|
||||
{1, 3, 9, 1, 4, 0, 7},
|
||||
{3, 3, 3, 9, 4, 0, 7}
|
||||
};
|
||||
printArray(intArray3);
|
||||
System.out.println(isConsecutiveFour(intArray3));
|
||||
printArray(intArray1);
|
||||
System.out.println(isConsecutiveFour(intArray1));
|
||||
}
|
||||
|
||||
public static void printArray(int[][] array)
|
||||
@@ -103,7 +103,8 @@ public class MP1_CalebFontenot {
|
||||
System.out.println("Checking for Diagonal matches...");
|
||||
for (int rowIterate = 0; rowIterate < (values.length - 4); ++rowIterate) {
|
||||
for (int x = 0; x < values.length - 1; ++x) {
|
||||
if (values[x][rowIterate] == values[x][rowIterate + 1])
|
||||
if (values[x][rowIterate] == values[x][rowIterate + 1]) {}
|
||||
|
||||
}
|
||||
System.out.println("Checking next line...");
|
||||
}
|
||||
|
Reference in New Issue
Block a user