Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a python program that computes the amount of money an employee earns over the next decade based on a raise, which is a percentage

  • Write a python program that computes the amount of money an employee earns over the next decade based on a raise, which is a percentage amount.
  • Request from the user the present pay per hour and the expected raise percentage per year.
  • Once accepted calculate the yearly pay based on 40 hours per week and 52 weeks per year. The raise increases each amount after the first year.
  • The yearly amount of pay earned is displayed for the next 10 year.
    • For example:
      • Year 1 - $20,000
      • Year 2 - $20,600
      • Etc
  • Write two programs for this using the while loop in one and the for loop in the other.

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

More Books

Students also viewed these Databases questions

Question

How do you tailor the levels of abstraction to fit your system?

Answered: 1 week ago

Question

3. How can we confi rm both ourselves and others?

Answered: 1 week ago

Question

2. In what ways can confl ict enrich relationships?

Answered: 1 week ago