Can someone explain this to me in more detail please, cause it makes no sense to me at all?
"An estate Agent pays its estate agents basic wages plus commision. the estate agents receive ?1000 per month plus 0.5 percent of their gross sales for that month. for example, an estate agent who has gross income of ?50000 in sales a month receives ?1000 plus 0.5 percent of ?50000, or a total of ?1,250. write a java applet program (using an array of counters) that determines how many of the estate agents earned salaries in each of the following ranges (assume that each estate agent's salary is truncated to an integer amount):
A) ?1000 - ?1499 B) ?1500 - ?1999 C) ?2000 - ?2499 D) ?2500 - ?2999 E) ?3000 - ?3499 F) ?3500 - ?3999 G) ?4000 - ?4499 H) ?4500 - ?4999 I) ?5000 - and over
use a single subscripted array to solve the above problem. the program should also display beside the results, a graph in the form of a histogram
Seems to me for each salesguy you need to compare his salary to see what range he falls into and then bump up the appropriate counter. When done reading the inputs then plot the counters to form a histogram.