Reference no: EM131432618
Payroll
A local small business has hired you to write a payroll calculation program. The program only needs to calculate gross pay for an employee and display the results. Your program will accept the employee's name, hours worked, and the employee's pay rate. The program will need to calculate overtime as well. Overtime is defined as anything over 40 hours is paid at 1.5 times the regular pay. The program should print the employee's name, the gross pay amount, and only if there was overtime, print the overtime pay amount as well. Finally, the program should repeat as necessary until the user enters a sentinel value.
For this project:
- You will submit your python code in either the original .py file, or copied into a .txt file.
- A screenshot of your code having been executed (run).How to Take a Screenshot
Tips: Remember to keep track of input data types when comparing values. input() formats the user's data as a string, so comparing string data to a number without quotes would produce an error.
Do not worry about security, it is irrelevant here. Just focus on the functionality discussed above.
Remember to follow the guidelines of good program design. Make sure to use meaningful variable names, include comments as needed, and provide thoughtful output.
Example output:
C:>python week2.py
ABC Inc., Gross Pay Calculator!
Enter employee's name or 0 to quit: Nathan
Enter hours worked: 35
Enter employee's pay rate: 10.00
Employee Name: Nathan
Gross Pay: 350.0
Enter next employee's name or 0 to quit: Toby
Enter hours worked: 45
Enter employee's pay rate: 10
Employee Name: Toby
Gross Pay: 475.0
(overtime pay: 75.0 )
Enter next employee's name or 0 to quit: 0
Exiting program.
Internet recruiting and a job posting
: Create a 10-12 slide presentation that includes your findings about Internet recruiting and a job posting for a sales representative position.
|
Write the four parts for a two sided hypothesis test
: Write the four parts for a two-sided hypothesis test concerning the population mean with a = 0.002.- Suppose x‾ = 9.04 and σ = 1.20. Find the value of the test statistic, and draw a conclusion about the population mean.
|
What makes an effective team member
: In this assignment, students should use leadership theory, the course textbook, articles, as well as their own experience to address the questions. The paper should blend reflection with analysis and integrate "academic" ideas with research. Make..
|
Write a hypothesis for what you expect to observe
: Identify the key variables you are going to be investigating, and develop an operational definition for each of them. (this should include at least two variables, but not more than four). Your operational definitions will help to provide paramete..
|
Focus on the functionality discussed above
: Tips: Remember to keep track of input data types when comparing values. input() formats the user's data as a string, so comparing string data to a number without quotes would produce an error. Do not worry about security, it is irrelevant here. Ju..
|
Describing functions of the chosen case tools
: Choose one or more CASE tools that support system process definition. Write a short essay describing functions of the chosen CASE tools with advantages and disadvantages of each function
|
Write a solution trail for given problem
: Conduct a hypothesis test to determine whether there is any evidence that the mean weight of Atlantic bluefin tuna is less than 550 pounds.
|
Material flow system
: Type a one-page summary over Section 3.3: Material Flow System (pg. 88-97) and include at least one example of a flow path different than any example in the book (you can make up your own process or data for this example)
|
Newsstand database in kaplan library
: Write two well-written paragraphs (about 250 words total) regarding the article you select. The first paragraph will summarize the important points of the article in a way that brings clarity and learning to all who read it. The second paragraph w..
|