Write a program consisting of a main module

Assignment Help Other Subject
Reference no: EM131712289

Write a program consisting of a main module and three other modules.

The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the
employee's net pay. The input for this program is an employee ID number,hourly rate of pay, and number of regular and overtime hours worked. Gross pay is the sum of the wages earned from regular hours and overtime hours; overtime is paid at 1.5 times the regular rate. Net pay is gross pay minus deductions. Assume that deductions are taken for tax withholding
(30 percent of gross pay) and parking ($10 per month). You will need the following variables:
EmployeeID (a String)
HourlyRate (a Float)
RegHours (a Float)
GrossPay (a Float)
Tax (a Float)
Parking (a Float)
OvertimeHours (a Float)
NetPay (a Float)

You will need the following formulas:
GrossPay = RegularHours * HourlyRate + OvertimeHours * (HourlyRate * 1.5)
NetPay = GrossPay - (GrossPay * Tax) - Parking

 

Reference no: EM131712289

Questions Cloud

How you might change process to avoid your selected pitfalls : Examine how you might change the process to avoid your selected pitfalls. Your response should be thorough and address all component of the discussion question.
How does a fundraiser use donor motivations : What is your opinion on why so much of the money given to charity comes from people who are not wealthy-what is their motivation?
Oxidation of these plastics in air to form carbon dioxide : Many plastic materials are organic polymers that contain carbon and hydrogen. The oxidation of these plastics in air to form carbon dioxide
Income statement or statement of cash flows : What other financial statement, the income statement or statement of cash flows, would also show evidence? Give an example of what the evidence might look like
Write a program consisting of a main module : Write a program consisting of a main module and three other modules, a program that computes the monthly gross pay of their employees
What is the percent yield for reaction : A sample of 0.53 g of carbon dioxide was obtained by heating 1.31 g of calcium carbonate. What is the percent yield for this reaction?
Discuss a chip manufacturing operation : Two machines are being considered for a chip manufacturing operation
What is azeotrope : Why we can obtain 95% ethanol but not 100% ethanol by distillation of fermentation mixture (fermentation is process of produce of ethanol from glucose).
Explain how a strategy plan for organization : Implementation of a overcome barriers to creative and innovative management idea implementation of creative in an organization and innovative management ideas

Reviews

Write a Review

Other Subject Questions & Answers

  Define the length of time of protection

The difference between an employee and an independent contractor and who normally would own any intellectual property rights

  What you plan to do with that new single important thing

what you plan to do with that new single important thing, i.e., how you will apply this new knowledge to and/or in your life in the future? Why do you believe it is worthy of application?

  Modern world and buddhism

Analyze the interactions between the modern world and Buddhism, highlighting chosen issues. Thank you in advance for all of your help. I would appreciate any guidance you can give.

  Ethylene glycol is used as automobile antifreeze

Ethylene glycol is used as automobile antifreeze.  6.38 g of this compound contains 2.47 g of carbon and 0.620 g of hydrogen.  The rest is oxygen.  The molar mass is 62.0 g/mole.  What are the empirical and molecular formulas of ethylene glycol?

  Critically analyze information shared from the think tanks

Critically analyze the information shared from the think tanks. What was it, and did you see any problems with the rationale or reasoning utilized?

  Create a community health promotion resource

You are creating a community health promotion resource that addresses a cardiovascular subject of your choosing. You are creating this tool for a segmented population of health care consumers.Focus your information on the specific cultural beliefs ..

  Reliable method to estimate driving speeds

Determine the more reliable method to estimate driving speeds and miles per gallon by using (a) official statistics on highway traffic from the Environmental Protection Agency

  Change management exercises

A risk to a project is that cost, schedule, or timeline overruns often result in scope being eliminated from a project.

  An initial draft of your methods and results sections

An initial draft of your Methods and Results sections. Now that you have completed your data collection, it is important to revise your methods section.

  Discuss about the nurture contributions

Write a paper describing in detail the "nature" (primarily genetic, inherited) contributions to this condition as well as the "nurture" contributions.

  The classical view of intelligence with gardners view

Compare and contrast the generate-and-test, the means-ends analysis, and the reasoning-by-analogy approaches to problem solving.

  Compare the strengths and weaknesses of each system

Governments differ on where the power of the state should be held. Unitary systems concentrate the power within the central government.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd