Experts in Written Essays & Research Papers: Assignment Help Services.

To hire a writers, fill the order instructions form & checkout—guaranteed a top college graduate to write your essay & NO AI-Plagiarism in the
final papers! Pursuing an 8-16 week course? The best in completing ace my homework & online class help, will assist you today!

Posted: September 18th, 2024

Commission Assignment discussion

Assessment Brief Show Me the Money The primary purpose of this assignment is to practice using and writing subroutines. The question requires that you work with sales data pertaining to sales staff and produce a neat report of each person with their annual sales and commission bonuses along with some additional statistics. For example the output might look like:  Commission Bonus Report ----------------------- ID Q1 Sales Q2 Sales Q3 Sales Q4 Sales Annual Sales Commission 9154 7200.55 8456.78 9123.45 8885.34 123456.22 6023.49 8143 17200.55 8456.78 19123.45 8885.34 141111.11 4023.44 . . etc. The sales person with the highest commission was 1234 ($5678.99). The sales person with the lowest commission was 5912 ($34.49). The average commission was $2345.12 Rather than read in the sales data we will generate it randomly using the Math.random() function. Math.random() generates a double precision value x such that 0.0 <= x < 1.0. Note that the value is always strictly less than 1 but is greater than or equal to 0. Write a function called Random that accepts two parameters of type double. The Random function will generate random numbers between a range defined by the parameters, The first parameter defines the lower limit and the second parameter defines the upper limit. Thus Random(5.5, 19.6) would generate random numbers x such that 5.5 <= x < 19.6. Note that our Random will also exclude the upper limit as a possible value. Write a second function also called Random that accepts two parameters of type integer. This Random function will generate random integers between a range defined by the parameters, The first parameter defines the lower limit and the second parameter defines the upper limit. Thus Random(5, 19) would generate random integers x such that 5 <= x <= 19. Note that this Random will NOT exclude the upper limit as a possible integer value. These Random functions demonstrate overloading as discussed in the text in Section 4.3.3. As a hint keep in mind that multiplication stretches the range of random values and addition shifts the range. Then write a Java program that will read in a file of commission information, and generate the sales data. The program will print out the id of each sales person followed by their quarterly sales, total sales for the year, and their commission bonus in a nicely formatted report. The report shows the sum of the quarterly calculated commission amounts. The commission file simply contains a few numbers that define how to calculate commissions and a final numberindicating how many sales staff to work with. The commission amount is calculated for each quarter. The commission file contains 4 lines. The first line contains the level of sales used for the first commission rate that follows. Sales up to this amount generate a commission using the first rate. The second line contains the second level and rate. If the sales for the quarter are between the first and second level then the sales generate a commission using the second rate. The third line contains the third rate. If the sales for the quarter exceed the second level then commission is generated at the third rate. Here is a typical commission file: 50000 5.55 <- if quarterly sales <= 50000 use 5.55% as the rate 70000 6.85 <- if quarterly sales > 50000 and <= 70000 use 6.85% 8.15 <- if quarterly sales > 70000 use 8.15% 14 <- the number of sales staff Note that this data will need to be read into global variables. The id number for each sales person will be generated by your Random function that returns integers. Use parameters of 1001, 9999 when calling this function. The quarterly sales figures for each sales person will be generated by your Random function that returns doubles. When generating random sales figures use 10000.0 and 25000.0 as the parameters. In addition to the Random functions include a subroutine to read in the commission file data and a function to calculate the commission for each quarter. You may include other subroutines or functions if you wish. The input file to use with your program is the commission file. Use right click to save the file on your local machine. All of this is also seen at: http://www.cosc.brocku.ca/Offerings/1P02/assign3.shtml

Can I Request a Specific Writer?

Yes, if you have worked with a writer before, you can request them again for consistency and familiarity with your needs. This ensures a smooth, tailored experience. Writer continuity helps maintain consistent style and understanding of your preferences. Browse profiles or contact support to make your choice. Essay writer relationships build over time for increasingly personalized academic support.

Order | Check Discount

Why trust us? Can you do my assignment?

College students want the best grades in their courses and that’s our FOCUS

Graduate Level Writers

Our team consists of outstanding writers who have specialized knowledge in specific subject areas and are scholars experienced in academic research;custom paper writing following assessment task, assignment brief and grading rubric criteria. They hold at least a graduate degree—230 with Masters and MSN qualifications, experts carefully selected and trained to ensure the best final paper quality of our work. .

College Students Prices

We’re dedicated to bringing on board top-notch writers who can provide excellent work at prices that make sense for college students; affordable papers for all the course subjects. Our goal? To give you the best bang for your buck without ever compromising on the quality of our essay writing services—or the content of your paper. We give special extra discounts for regular clients and also for long research papers, dissertations and capstone projects. #Don’t forget to use the DISCOUNT code in the COUPONS section of the order form before checking-out!.

100% Human Written

The Online Homework Ace Tutors service guarantees that our final work is 100% original, researched, and expertly human-written. Our professional academic writers craft every custom essay and research paper from scratch, ensuring your assignment is tailored to your exact instructions. We are committed to delivering plagiarism-free and AI-free work to each university/college student's 'write my paper' request. To uphold this promise, we check every draft for any possible instances of duplication, wrong citation, grammar errors, and artificiality before we send it to you. Thus, you can always rely on us to write genuine and high-standard content for your essay assignments.

How it works

When you trust to place an order with Sample Essays, here is what happens:

Complete the Order Form

Please fill out our order form completely, providing as much detail as possible in all the required fields.

Assignment of Writer

We carefully review your order and assign it to a skilled writer with the specific expertise needed to handle it. The writer then creates your content entirely from scratch.

Order in Progress and Submission

You, along with the support team and your assigned writer, communicate directly throughout the process. Once the final draft is delivered, you can either approve it or request edits, paraphrasing, or a complete revision.

Giving us Feedback(review our essay service)

Ultimately, we value your feedback on how your experience went. You can also explore testimonials from other clients. Additionally, you have the option to recommend or select your preferred writer for any future orders.

Write My Essay For Me