Answered You can hire a professional tutor to get the answer.

QUESTION

In each of the projects that follow, you should write a program that contains an introductory docstring.

In each of the projects that follow, you should write a program that contains an introductory docstring. This documentation should describe what the program will do (analysis) and how it will do it (design the program in the form of a pseudocode algorithm). Include suitable prompts for all inputs and label all outputs appropriately. After you have coded a program, be sure to test it with a reasonable set of legitimate inputs. Your results along with the code must be submitted using blackboard for grading.

  1. The tax calculator program of the case study outputs a floating-point number that might show more than two digits of precision. Use the round function to modify the program to display at most two digits of precision in the output number.
  2. employee's total weekly pay equals the hourly wage multiplied by the total number of regular hours plus any overtime pay. Overtime pay equals the total overtime hours multiplied by 1.5 times the hourly wage. Write a program that takes as inputs the hourly wage, total regular hours, and total overtime hours and displays an employee's total weekly pay.
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question