A(n) ____________________ is an image that has one or more hotspots placed on top of it.

Fill in the blank(s) with the appropriate word(s).

image map

Computer Science & Information Technology

You might also like to view...

A _________ loop always executes the loop body at least once, irregardless of the loop condition.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Write a class named Location for locating a maximal value and its location in a two-dimensional array. The class contains public data fields row, column, and maxValue that store the maximal value and its indices in a two dimensional array with row and column as int type and maxValue as double type. The class also contains a constructor Location(row, column, maxValue) for creating an instance with the specified row, column, and maxValue.

Write the following function that returns the location of the largest element in a two-dimensional array. Assume that the column size is fixed. ``` const int ROW_SIZE = 3; const int COLUMN_SIZE = 4; Location locateLargest(const double a[][COLUMN_SIZE]); ``` The return value is an instance of Location. Write a test program that prompts the user to enter a 3 by 4 two-dimensional array and displays the location of the largest element in the array. Here is a sample run: ``` Enter a 3 by 4 array: 23.5 35 2 10 4.5 3 45 3.5 35 44 5.5 9.6 The location of the largest element is 45 at (1, 2) /code}

Computer Science & Information Technology