Question: Write a Java program to print the income statistics for a company. A consumer products company pays its part time sale representatives a basic of

 Write a Java program to print the income statistics for a

Write a Java program to print the income statistics for a company. A consumer products company pays its part time sale representatives a basic of S200 biweekly and 8% of gross sales. For example, a sales representative who makes $6000 sales will receive a total of $680 in two weeks. The income statistics should show the number of sale representatives eam in each salaries range. The salaries range is as follow: a. $200-299 b. $300-399 c. $400-499 d. $500-599 c. $600-699 $700-799 g. 5800-899 h. $900-999 i. $1000 and over The salaries range is truncated to integer. Print the income statistics in a tabular format. Your program should use a loop structure and a Scanner class to read in arbitrary numbers of salaries and printf() method to formulate the tabular output A sample output is as follow CAWindows system32.ondan Enter gress sales or enter a negative value to terminate the program:33.33 Enter yress sales or enter a negative value to terminate the programi 55.25 Enter gross sales or enter a negative value to terminate the progra: 72.88 Enter yress sales or enter a negative value to terminate the program: 123.89 Enter gross sales or enter a negative value to terminate the program: 356.28 Enter gross sales or enter a negative value to terminate the program: 338.73 Enter gross sales or enter a negative value to terminate the program: 3256.88 Enter gross sales or enter a negative value to terminate the progra: 6265 Enter rss sales or enter a negative value to terminate the progra: 7263.66 Enter gross sales or enter a negative value to terminate the progra: 587.99 Enter grass sales or enter a negative value to terminate the program: 23562.99 Enter yross sales or enter a negative value to terminate the progra: 88899.66 Enter gross sales or enter a negative value to terminate the program - Incone Range Number 1288 $299 306 $399 2400 $499 Seu $599 $6118 $699 204 08 $892 3980 $999 31000 and over Fress any key te continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!