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 two–dimensional array.
public static int[] locateLargest(double[][] a)
The return value is a one–dimensional 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 two–dimensional 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: