Main module and three other modules

Assignment Help Other Subject
Reference no: EM13182159

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: EM13182159

Questions Cloud

What would be the ionic strength of a solution : Calcium chloride (CaCl2; very soluble) has been sold as a more effective de-icer than NaCl to spread on icy sidewalks. What would be the ionic strength of a solution
Strengths and weaknesses of articles vis-à-vis constitution : Compare and contrast the Articles of Confederation with the new Constitution of 1787. What were the strengths and weaknesses of the Articles vis-à-vis the Constitution? Give specific instances that demonstrate the weakness of the Articles.
Project management accounting : BBAC501-Project Management Accounting:   Review the performance of ValleyviewPlaygyms in 2012 and make a recommendation as to whether Johnson's overdraft facility should be cancelled.  Prepare a report for Johnson explaining the errors s he made in..
Comparison of probabilities in your explanation : How many free premium channels should the research director recommend for inclusion in the 3-For-All service ?
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..
How much the blue book value for the cars : You are in the market for a used car. At a used car lot, you know that the blue book value for the cars you are looking at is between $20,000 and $24,000. If you believe the dealer knows as much about the car as you, how much are you willing to ..
Examples from the odyssey of odysseus : Can you help me find some examples from the Odyssey of Odysseus' cunning overcoming his ability to tell stories?
New monarchies : What qualities characterized the "New Monarchies" and what are some of the best examples of such princely states?
Length of a new rectangle playing field : The length of a new rectangle playing field is 3 yards longer than triple the width. if the perimerter of the rectangular playing field is 406 yards

Reviews

Write a Review

Other Subject Questions & Answers

  Teaching standards of behavior

Create a brochure that you might use as a tool to teach respect, self-discipline, and responsibility to your students at the beginning of the school year.

  Stereotyped as being masculine and categorized as lesbians

Historically, athletic women have been stereotyped as being masculine and categorized as lesbians. Do you think that Thalia Mulvhill adequately represented the issue of stereotyping female athletic educators and athletes?

  Actual variation in between points

What's the actual variation in between points as well as individuals which Kant believe is really essential to their own ethical really worth? Would you concur?

  Development of the american court systems

Discuss in depth the development of the American Court Systems. Book is With justice for all? Nature of the American Legal System by Michael Fowler.

  Life on earth evolved in the ocean

Life on Earth evolved in the ocean and it may have been "seeded" in the oceans but comets or meteors splashing into those ancient oceans.

  Manners of approaching truth

How to Identified many ways of seeking knowledge and truth; Please clearly explained. How a biblical christian worldview and different techniques of knowing are compatible and why discussed from biblical christian worldview.

  Relationship between reliability and validity

While we all agree that there is a close relationship between reliability and validity, can you have reliability that doesn't in fact inform the validity assertions of your construct?

  Expect ol prices to increase over the next decade

We can expect ol prices to increase over the next decade. First, oil reserves are steadily dwindling. As oil producers have to use more expensive technology to locate oil and bring it to the surface, it will cost more.

  Sperm and the egg from their development to fertilization

Trace the movements of the sperm and the egg from their development to fertilization. Describe the function of each of the male and female internal and external sex organs in relation to the sperm and the egg.

  Life is full of stress

"There is no doubt about it - life is full of stress. Think for a moment about all the things that bother you, such as exams, jobs, relationships, and finances. For most people, this list lengthens quickly.

  Change theory-disruptions and distortions

Change theory frequently centers on communication model in which there is sender who wishes to communicate a message to a receiver and some type of tool or medium by which to establish communication through environment.

  Why professionalism of procurement officers is essential

Why professionalism of procurement officers is essential.

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