Question: Python Programming Renee's Rad Restaurant pays employees differently depending on their job title and experience. In a program called payroll.py , use separate prompts to

Python Programming

Renee's Rad Restaurant pays employees differently depending on their job title and experience. In a program called payroll.py, use separate prompts to collect the following input:

  • Job title ("W" for wait staff, "H" for host, "K" for kitchen staff)
  • Number of hours worked
  • Number of years employed at the restaurant

Then, output their gross pay amount (i.e., the amount they earn before taxes and other deductions) based on the following:

  • Wait staff earns $5/hour until they've worked 1 year, then earn $6/hour
  • Hosts earn $12/hour for the first 2 years, then go up to $13.50/hour
  • Kitchen staff make $15/hour for the first year, then go to $18/hour

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!