Write program to do some of the heavy lifting

Assignment Help C/C++ Programming
Reference no: EM132241753

Question:

Tax laws are incredibly complicated. In order to help cope, you will write program to do some of the heavy lifting.

Your program should accept as input the amount of income made by the user in the past year, the marital status of the user (single/married), and the current elevation of the users home address (below/at/above sea level). Your program should produce as output the amount of tax owed for that year.

The process for calculating the amount of tax owed is as follows:

Yearly Income

If the yearly income is less than $10,000, base tax is 2.3% of income

If yearly income is greater than or equal to $10,000 but less than or equal to $50,000, base tax is 4.5% of income

If yearly income is greater than $50,000, base tax is 6.1% of income

Marital Status:

If the user is single, no changes are made

If the user is married, $24.62 is subtracted from the base tax

Current Elevation:

If the user lives below sea level, they are either a fish or a cave person, and processing fees are applied. $18.32 is added to the base tax.

If the user lives at or above sea level, no changes are made remember to submit your source code and a screenshot of your output.

Verified Expert

The task of the assignment is to develop a c++ program. The application receives the user income,their marital status, and the location of their home address with respect to sea level.The tax rate for the user is determined based on the income and marital status of the user.From the determined the tax rate,the tax amount to pay is determined. Based on the location of their home address addition tax amount is laid on the user.The program is executed and output is attached.

Reference no: EM132241753

Questions Cloud

Discuss what organizations can do to provide recognition : Compare and contrast the program features and the success the organization has had or might expect to have.
What problems or opportunities would each of the studies : Research the concepts, theories, and models explored in this course. Use resources from professional literature in your research.
Behalf of employees despite arbitration agreement : Which of the following has the authority to file discrimination lawsuits on behalf of employees despite an arbitration agreement?
Evaluate a recent business case of unethical behavior : Prepare a paper in which you evaluate a recent business case of unethical behavior with which you are familiar.
Write program to do some of the heavy lifting : Your program should accept as input the amount of income made by the user in the past year, the marital status of the user
How walmart can improve its corporate culture and leadership : Determine how WalMart can improve its corporate culture and leadership. Then, suggest steps for improvement that could be taken to improve.
What external influences affect total rewards system : Describe the elements to a competitive and desirable total rewards system. What external influences affect a Total Rewards system?
Write response on psychological components : As I was reading the first chapter of our textbook I found that progression of the medical profession being purely physical to also incorporating Psychological.
Determine the corporate-level strategy : Determine the corporate-level strategy you think is most important to the long-term success .

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Ask the user for a number between 1 and 11 stop asking when

Ask the user for a number between 1 and 11; stop asking when the user enters 0 OR when the total goes over 21. Display the total on the screen.

  What would be the benefits of modeling the data

how you could model those data collections as separate data items. What would be the benefits/drawbacks of modeling the data as an array vs. separate data items

  Evaluate the expression

How many times will "jump" be displayed in the following program segment? If the loop doesn't terminate, write "infinite" Evaluate the expression.

  Design a special atm machine

design a special ATM machine to be used by needy people -  The association supplies the needy person with a pin number to be able to use the ATM machine.

  Write the sorted data to the specified output file

How the user would like the contents of the file sorted. The user must be able to sort on any of the columns. in ascending or descending order - Write the sorted data to the specified output file using the same format as the input file.

  Calculate total grade for n classroom exercise as percentage

Write a program that calculates the total grade for N classroom exercises as a percentage. Use the Decimal Format class to output the value as a percent.

  Implement a point class for two-dimensional points

Implement a Point class for two-dimensional points (x, y). Include a default constructor, a copy constructor, a negate() function to transform the point into its negative, a norm() function to return the point's distance from the origin (0,0), an..

  Adjacency matrix and shortest path

Construct a graph based on the adjacency matrix that appears below. Label all nodes with indices consistent with the placement of numbers within the matrix.

  Create a permutation generator script for us

create a permutation generator script for us that will generate all the permutations possible from a set of words. The script can be written in PHP, jscript, Python or Java.

  Program that translates a letter grade into a number grade

Write a program that translates a letter grade into a number grade. Letter grades are A, B, C, D, and F, possibly followed by + or -.

  Calculate monthly payment and amortization schedule for loan

Write a C program that calculates the monthly payment and amortization schedule for the loan. The program should prompt the user to enter the loan amount, the annual interest rate, and the number of years the loan will run.

  Program to enter number of values to be processed

Write c++ statements to permit the user to enter n, the number of values to be processed; then assign the anonymous array of n double values, storing its address in doublPtr.

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