1
Student Name: __________________
Class and Section __________________
Total Points (20 pts) __________________
Due: November 29, 2017 before the class
Project: Locate the largest element
CSCI 1301 Introduction to Programming Principles
Armstrong Atlantic State University
Problem Description:
(Exercise08_13) Write the following method that returns the
location of the largest element in a twodimensional array.
public static int[] locateLargest(double[][] a)
The return value is a onedimensional array that contains
two elements. These two elements indicate the row and
column indices of the largest element in the two
dimensional array. Write a test program that prompts the
user to enter a twodimensional array and displays the
location of the largest element in the array. Here is a
sample run:
Analysis:
(Describe the problem including input and output in your own words.)
Design:
2
(Describe the major steps for solving the problem.)
Testing: (Describe how you test this program)
Submit the following items:
1. Print this Word file and Submit to me before the class on the due day
3
Solution Code: