EBK ABSOLUTE C++
EBK ABSOLUTE C++
6th Edition
ISBN: 9780133970944
Author: SAVITCH
Publisher: PEARSON CUSTOM PUB.(CONSIGNMENT)
Question
Book Icon
Chapter 1, Problem 6PP
Program Plan Intro

List of variables:

working_hours: Store the working hours for the employees.( Taken as 7 hours)

dependents: Store the number of dependents.

regular_hours: Store the number of regular hours.

Total_income: To store the total income.

List of functions used:

cin(): To take input from input streams like keyboard, files etc.

cout(): To display the output.

Summary Introduction:

Program will use Main () method to prompt the user to enter the number of dependents, working hours and regular hours to find the total income. The grosspay for social security is 6%, 14% for federal income tax, 5% for state income tax and $10 per week for union dues. If the number of dependents is three or more than three then an extra amount of $35 is withheld for health insurance.

Program Description:

The purpose of the program is to find the worker’s gross pay, each withholding amount and the net take-home payfor the week.

Blurred answer
Students have asked these similar questions
. Employees of a certain firm are paid on hourly basis at the end of each week. If an employee works up to 40hrs, the employee is paid 6 GHS and 7 GHS per hour for a male and female respectively. If an employee works for more than 50 hours then the employee is also paid 2.5 the corresponding regular rate for hours worked in excess of 40. All employees are to pay 10 % of their gross as INCOME TAX and 2.5% towards the NHIS. If an employee has more than 3 children then he or she pays 2 cedis per child in excess of three towards GETFUND. Write a C++ program that can print onto screen the Net Salary of any staff onto screen. NB (NETSALARY is equal to gross salary less all deductions (VAT, NHIS, GETFUND). Write a C++ program and draw a flow chart for a software solution that can solve for the problem above.
Assuming all Ghanaians who are at least 18 years can choose between going to school or learning a trade. GHC 100 is invested every month for a person who chooses to go to school by the government till the person attains age 30 years provided he / she completes university. If he / she does not complete university. If he / she does not complete university, the payment is stopped at the time theta / she exited. If the person chooses to learn a trade, the government pays GHC 2000 as apprentice fee to the madam or master who will take the person as an apprentice, the person who are less than 18 years or 30 years and above do not qualify to enroll in the program.   a. Request a persons name, age, what he / she wants to do (go to school or learn a trade), time of exit if any and disqualify the person if he / she does not meet the age criteria   b. Compute the total investment made for the person if he / she either finishes or   exited along the way   c. Display the results   d. Explain the…
A person places $5000 in an account that accrues interest compounded continuously. Assuming no additional deposits or withdrawals, how much will be in the account after seven years if the interest rate is a constant 8.5 percent for the first four years and a constant 9.25 percent for the last three years?
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning