Solved

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

Question 44

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents