Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using python language and with simpler codes like if, while, for statments Problem 1 (6 Marks): Write a program that calculates and prints the salary

using python language and with simpler codes like if, while, for statments

image text in transcribed

Problem 1 (6 Marks): Write a program that calculates and prints the salary of Sample input/output: employees based on their years of experience and position. The company has three positions: Junior, Senior, and Manager. Each position has a minimum salary, and the salary increases based on the years of experience as follows: - Junior: minimum salary is 3,000 AED. The salary increases by 8% for every 2 years for the first 6 years, and then increases by 4% for every 2 years after the first 6 years. The maximum salary allowed is 10,000 AED or the double of the original salary. - Senior: minimum salary is 15,000 AED. The salary increases by 10% for every 2 years for the first 6 years, and then increases by 5% for every 2 years after the first 6 years. The maximum salary allowed is 50,000 AED or the double of the original salary. - Manager: minimum salary is 25,000 AED. The salary increases by 12% for every 2 years for the first 6 years, and then increases by 6% for every 2 years after the first 6 years. The maximum salary allowed is 100,000 AED or the double of the original salary. The program should ask the user to enter the position, the current salary, and the number of years. The program should then print a list of the salary increment per year for the specified number of years

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

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago