Solved

A Two-Dimensional Array Named Sales Holds the Weekly Sales for Employees

Question 25

Essay

A two-dimensional array named sales holds the weekly sales for employees in a jewelry store for a year. Write code that prints out a single value that represents the range of sales held in the array. It prints out the value of the highest sales amount minus the value of the lowest amount. Each sales amount is represented as an integer.

Correct Answer:

verifed

Verified

int highest = sales[0][0];
int lowest = ...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions