
Concept explainers
Here is the guideline, I found the same question on here, but I wanted to ask specific questions for myt understanding.
Write a complete and syntactically correct Python
You are the payroll manager for SoftwarePirates Inc. You have been charged with writing
a package that calculates the monthly paycheck for the salespeople. Salespeople at
SoftwarePirates get paid a base salary of $2000 per month. Beyond the base salary,
each salesperson earns commission on the following scale:
Sales Commission Rate Bonus
<$10000 0% 0
$10000 – $100,000 2% 0
$100,001 - $500,000 15% $1000
$500,001 - $1,000,000 28% $5000
>$1,000,000 35% $100,000
Defining my variables:
vacation_days
base_salary
The following additional conditions apply:
1. If a salesperson has taken more than 3 vacation days in a month, their pay gets
reduced by $200
So my initial question is would I create a variable day like:
variable = vacation_days
vacation_days = float(input"please enter no. of Vacation Days.")
So then the user would be prompted for the number of days?
then indented under
if vacation_days>3
base_salary - 200
2. A salesperson earns a bonus only if they have been with the company for 3
months or more
3. For salespeople who have been with the company for 5 years or more and who
have made sales greater than $100,000 an additional bonus of $1000 is added.
All input to the program will be interactive from the keyboard. The output of the program
will include:
a. The name of the salesperson
b. Their longevity with the company
c. Their base salary
d. The commission earned (in Dollars)
e. The bonus earned
f. Additional bonus earned (if any)
g. Deductions (if any)
h. A total gross paycheck
i. Your output should look like a paystub (NOT in paragraph format)
j. All currency should be formatted with a $ sign and 2 decimal places

Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 3 images

I can understand most of the logic behind the code, but the indentations and organizing is where I get confused. It doesn't display well on Bartleby.
I run the program and it says raw_input isn't defined.
I also get confused with the raw input, as we've only been exposed to float and int input.
Could I modify these to name = float(input("enter your name)
etc. ?
the integer and raw_input part is the only part that sort of confuses me aside from indentation
I can understand most of the logic behind the code, but the indentations and organizing is where I get confused. It doesn't display well on Bartleby.
I run the program and it says raw_input isn't defined.
I also get confused with the raw input, as we've only been exposed to float and int input.
Could I modify these to name = float(input("enter your name)
etc. ?
the integer and raw_input part is the only part that sort of confuses me aside from indentation
- I need help figuring out this program and putting it in c++.arrow_forwardWrite this code in any language Python, Java or C++ and complete the code and make sure it runs.arrow_forwardUse the correct Syntax In python You just started your summer internship with old jalopy auto Rentals based in Lenior. North Carolina. You will be working in a large development team in the process of building the firm's first online reservation system. your first assignment is to build the components that will check the age of the customer and then assign them a car. you will be building the business logic classes, so you do not have to worry about the forms of communicating with the user or data access classes to communicate with the database. To test your classes, you will use them in a test application. The requirements for your classes and the testing application are as follows: -You will design and build 2 components of the online reservation system(ORS). There will be one class to represent customers and another to represent vehicles. -Each class should have at least 2 members and 2 methods -The ORS will need to be able to check to make sure the customer in question is at least…arrow_forward
- This is from the book starting out with python >>> fourth edition by Tony Gladdis. I sent this one but it was the wrong solution, this problem I am having is a programming one, not Java. I just want to be more concise with my wording, and thank you for helping me.arrow_forwardThe language is C++. The picture is my program and and the bottom it shows my output. I need the output to look like the other picture and the numbers on top includes the input for the number of people, the average slice each person would eat and the cost of each pizza. I want any number to work for this program so what exactly am i doing wrong that my output is coming out like that.arrow_forwardThis is a C++ program. The trustees of a small college are considering voting a pay raise for their faculty members. They want to grant a 4 percent raise for those earning more than $70,000.00, a 7 percent raise for those earning more than $50,000.00 and 5.5 percent raise for all others. However, before doing so, they want to know how much this will cost. Do NOT use any logical operator or anything that looks like one in the program. You will not receive credit for the program if you do.No input, processing or output should happen in the main function. All work should be delegated to other functions. The program should have at least 4 functions (main and developerInfo not included) and the output sent to an output file, Program6- output.txt. Include the recommended minimum documentation for each function. Every function in your program should be limited to performing a single, well-defined task, and the name of the function should express that task effectively void…arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





