Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

if Harish.T sees this, this is the instructions to make the Commission pay code from my previous question. Can you also do the Easter Calculator

if Harish.T sees this, this is the instructions to make the Commission pay code from my previous question. Can you also do the Easter Calculator too?
The format that you had for the last code was right image text in transcribed
image text in transcribed
A company, that sells large ticket ibems, pays its salespeople on a commission basis. The salespeopke receive $200 per week plus 9% of ther gross sales for that week. If sales exceed $15,000 week, the salesperson will get a $1,000 bonus. For example, a person that sells $60,000, would get paid $6,600. The Prog03_PayCalc Program Start the Eclipse IDE. Iyou have not already, create a workspace for the class named "CSC1350 Secx where X is the section number in which you are enrolled (section 6 for 1:30PM lab & section 7 for 5.00 PM lab). Create a project named Progo3 PayCalc (File | New | Java Project. In the Package Explorer navigation pane, expand the "Progo3 PayCalc project hierarchy. Right click on the "Progo3 PayCak /sre folder, select the New | Glass menu option Name your class "Prog03 PayCak and check the "public static void main(Stringl)argsbox. Click the "Finish" button Double click on "maiString:void" in the project hierarchy generated to view the file in the editor pane. Develop your progam directly in the main function. Be sure to add comments at the top of your program file Insert project descriptlon here> CSC 1358 Proging project No Sestion& for 7) Bauthor cType your nane here Rsince 18/1/2018 public class Proge3 PayCale public static vold nain(Stringl] angs) 17 TODO Auto-generated nethod stub You will write a program that will caloulate 11 the sum a saleperson's sales for each day of the week, 2) the total sales for the week, 3) the commission eamed by the salesperson for the week, and 4) the rage sale Input: You will prompt the salesperson to enter each of their individual sales for the week, designating what day the sale was made. There is no limit to the number of sales that can be made in a week The user will be prompted to specify when they have completed entering all of their sales for the week You should prompt the user for input as follows Enter Day of Sale (Sunday, Honday, eaday, te) Are you finished entering sales? CYN) If a sser enters an invalid value, the program should notify the user that the value entered is incorrect, and why, and prompt the user to reenter a corrected value. Calculation: Once the user is finished entering sales, the program will calculate and print the results Output: The program will print daily sales summary in a columnar format, as shown below. if the salesperson achieves the $60,000 mark for the week, print three asterisks () following their commission

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Building Database Driven Catalogs

Authors: Sherif Danish

1st Edition

0070153078, 978-0070153073

More Books

Students also viewed these Databases questions

Question

10-4 How has e-commerce affected business-to-business transactions?

Answered: 1 week ago

Question

What is electric dipole explain with example

Answered: 1 week ago

Question

What is polarization? Describe it with examples.

Answered: 1 week ago

Question

3. An overview of the key behaviors is presented.

Answered: 1 week ago

Question

2. The model is credible to the trainees.

Answered: 1 week ago