Write a Java program that reads sales data from the user and displays a report. The program will begin by asking the user to enter the salesperson's name. (Note: the name may contain spaces, hyphens, and periods.) While printing, use the following static methods to determine commission, and high and low sales.
double comm( double sales )
//returns commission as 12 % of sales
double max( double arr, int num )
//returns largest value in array arr that contains num values
double min( double arr, int num )
//returns smallest value in array arr that contains num values
Create an array of ten doubles. Read in sales values from the user and store them in the array until a negative number is entered or ten values have been entered. Use appropriate prompts to request user input. When done reading sales, print a report in the exact format shown below:
Weekly Sales for John A. Smith
Total Sales: 2,986.77
High Sales 1,291.32
Low Sales 622.52
Hey there, I have worked with java in my high school, college and with my own projects. I'm excited to help you ace this java assignment. Hope we get in touch soon.
13 freelancers estão ofertando em média $32 para esse trabalho
Three years of professional software development experience and a degree in Information Systems more than enable me to complete this task fast and easily
Having more than 8 years experience in Java and related technologies. Just need a chance from you to complete your task on time and with best quality.
Hi there, I am a professional Java software developer and CS graduate. I can developer this program in next few hours and give to you and will be 100% plagiarism free.