not a lab3 lab3

This commit is contained in:
2023-01-17 11:55:35 -06:00
parent 049b6b9dae
commit cc8c60cd6a
7 changed files with 267 additions and 3 deletions

View File

@@ -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...");
}