Reference no: EM13165429
Write a program to calculate a person's net pay after subtracting federal income tax.The program should ask the user to enter the person's name, social security number, gross pay, and the number of dependents.The program should first de-
termine the tax rate according to the following schedule.
Weekly Income Tax Rate
0.00-300.00 0.085
300.01-500.00 0.120
500.01-1000.00 0.185
1000.01 and over 0.220
Use a function Tax_Rate() to determine the schedule. Pass the gross pay to
Tax_Rate() and have the function return the rate.
Next, use the function Calc_Fed_Tax() to calculate the federal tax.The first ar-
gument should be the address of the gross income.The second argument should
be the address of the tax rate (as returned by Tax_Rate()).The third argument
should be the address of the number of dependents. The amount of the federal
tax should be returned in the target of the fourth argument.
Finally, the program should calculate the net pay by subtracting the federal tax
from the gross income.The program should display the person's name, social se-
curity number, gross pay, number of dependents, federal tax, and net pay.
Include a main function that will solicit
: Include a main function that will solicit a DNA sequence string from the user, call the genes function to obtain all the genes in the sequence and print each one on the console display
|
Create entries for monthly expenses
: We are not creating entries for monthly expenses such as rent and preparing the financial statements and documents floating around that may or may not be needed for efficient and effective processing of the business information and paper that is no..
|
Write a c++ program that would take two 3x3 matrix
: Write a C++ program that would take two 3x3 matrix and outputs the results of adding, subtracting and multiplying two matrices. Create at least three functions: one that performs addition,
|
Throws an exception from a deeply nested
: Write a program that throws an exception from a deeply nested function and still has the catch handler following the try block enclosing the initial call in main catch the exception
|
Write a program to calculate a person''s net pay
: Write a program to calculate a person's net pay after subtracting federal income tax.The program should ask the user to enter the person's name, social security number, gross pay, and the number of dependents.
|
Both the userid and the person''s full name
: a report and not just a listing:The report might be created with awk but it should have a heading. it should list both the userid and the person's full name (a person's fullname can be found in /etc/passwd file)
|
Find the sixth maclaurin polynomial for sin x
: Find the sixth Maclaurin polynomial for sin x and use Chebyshev economization to obtain a lesser-degree polynomial approximation.
|
What is the mass fraction of the metal in the metal sulfide
: A metal sulfide is 71.6% metal by mass. What is the mass fraction of the metal in the metal sulfide?
|
A subroutine in marie assembly that multiplies two value
: 1)Write a subroutine in MARIE assembly that multiplies two values where the arguments for this subroutine are two pointers(each pointing to a value). The routine, multiply(a,b), performs *a x *b where a's value is the address storing the value being ..
|