Student Name: __________________
Class and Section __________________
Total Points (20 pts) __________________
Due: December 1, 2010 before the class
Project: consecutive four equal numbers
CSCI 1301 Introduction to Programming Principles
Armstrong Atlantic State University
Problem Description:
Write the following function that tests whether a two–
dimensional list has four consecutive numbers of the same
value, either horizontally, vertically, or diagonally.
public static boolean isConsecutiveFour(int[][] values)
Write a test program that prompts the user to enter the
number of rows and columns of a two–dimensional list and
then the values in the list and displays True if the list
Analysis:
(Describe the problem including input and output in your own words.)
Design:
(Describe the major steps for solving the problem.)