Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer Information Systems Assignment 3 Question 4 Assignment #3 4. (17 pts) Create a new PyCharm project in your Assignment03 folder for this problem. Add

Computer Information Systems Assignment 3 Question 4

image text in transcribed

Assignment #3 4. (17 pts) Create a new PyCharm project in your Assignment03 folder for this problem. Add a new Python source file and save it with an appropriate name. Program specifications: At the end of the calendar year a company, that has been in business for 20 years, needs to determine the bonus amount and the years of service gift to be given to all employees. The bonus amount is the employee's annual sales times a bonus rate. The bonus rate is based upon the annual sales amount the employee earned. The application will prompt for an employee name, annual sales amount, and the number of years they have worked at the company. The bonus rate is determined by the following criteria. 1. Bonus rate of 2% for annual sales under 10,000. 2. Bonus rate of 4% for annual sales 10,000 or more but under 15,000. 3. Bonus rate of 5% for annual sales 15,000 or more but under 20.000. 4. Bonus rate of 6% for annual sales over 20,000. The years of service gift is an Amazon gift card which amount is based upon the number of years they have worked at the company. The Amazon gift card amount is determined by the following criteria: 1. Card amount of 100 dollars if they have worked from 1 to 5 years. 2. Card amount of 150 dollars if they have worked from 6 to 10 years. 3. Card amount of 200 dollars if they have worked from 11 to 15 years 4. Card amount of 250 for more than 15 years. The program should display the following information: has worked at the company for years worked> year(s)! Annual Sales Earned: $ Bonus Rate Earned: % ****************** BONUS & GIFT VALUE ********************** Bonus Amount: $ Amazon Gift Card Value: $ The last line of the output should display one of the following messages based upon the number of years they have worked at the company: Years Worked Output message 1 to 10 We hope to have you for MANY more years! 11 to 20 Thank you for your COMMITMENT to our company and its success! Instructor comments about the program: The bonus rate must be a decimal such as .02 or.04 or 05 and so on when the bonus amount is computed. The bonus rate must be displayed as 2% or 4% or 5% and so on for the bonus rate earned output. Assignment #3 4. (17 pts) Create a new PyCharm project in your Assignment03 folder for this problem. Add a new Python source file and save it with an appropriate name. Program specifications: At the end of the calendar year a company, that has been in business for 20 years, needs to determine the bonus amount and the years of service gift to be given to all employees. The bonus amount is the employee's annual sales times a bonus rate. The bonus rate is based upon the annual sales amount the employee earned. The application will prompt for an employee name, annual sales amount, and the number of years they have worked at the company. The bonus rate is determined by the following criteria. 1. Bonus rate of 2% for annual sales under 10,000. 2. Bonus rate of 4% for annual sales 10,000 or more but under 15,000. 3. Bonus rate of 5% for annual sales 15,000 or more but under 20.000. 4. Bonus rate of 6% for annual sales over 20,000. The years of service gift is an Amazon gift card which amount is based upon the number of years they have worked at the company. The Amazon gift card amount is determined by the following criteria: 1. Card amount of 100 dollars if they have worked from 1 to 5 years. 2. Card amount of 150 dollars if they have worked from 6 to 10 years. 3. Card amount of 200 dollars if they have worked from 11 to 15 years 4. Card amount of 250 for more than 15 years. The program should display the following information: has worked at the company for years worked> year(s)! Annual Sales Earned: $ Bonus Rate Earned: % ****************** BONUS & GIFT VALUE ********************** Bonus Amount: $ Amazon Gift Card Value: $ The last line of the output should display one of the following messages based upon the number of years they have worked at the company: Years Worked Output message 1 to 10 We hope to have you for MANY more years! 11 to 20 Thank you for your COMMITMENT to our company and its success! Instructor comments about the program: The bonus rate must be a decimal such as .02 or.04 or 05 and so on when the bonus amount is computed. The bonus rate must be displayed as 2% or 4% or 5% and so on for the bonus rate earned output

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_2

Step: 3

blur-text-image_3

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

Sound Investing, Chapter 8 - Revenue Hoaxes

Authors: Kate Mooney

3rd Edition

007171930X, 9780071719308

More Books

Students also viewed these Accounting questions

Question

Understand links between the university business model and HRM.

Answered: 1 week ago