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

  Why the native operator will not work with classes

Why the native operator will not work with classes unless they have been properly overloaded

  Describe an example of a two-dimensional character array

Describe an example of a two-dimensional character array that could be used to hold a set of text data that might be displayed on a hand-held information display device such as an MP3 player

  Prepare a program for a company named retail-martbullprompt

prepare a program for a company named retail-mart.bullprompt the user to enter an item name one word only a quantity

  Write short c program to develops two processes

Write down a short C program which develops two processes. Each process must repeatedly write its own unique message to test file, one character at time. Do you see garbled messages in the file? Explain why or why not?

  After the array is created and loaded

After the array is created and loaded, the problem is then to sort the array and print out the contents of the sorted array. Please use a separate function for the sort routine and also a separate function for the print out of the array.

  What is the c++ statement responsible for the output display

What is the C++ statement responsible for the output display and add the new display statement to the existing program requesting ENTER EMPLOYEE ID. Compile and run your program.

  Write a program that accepts as input a string variable

Write a program that accepts as input a string variable called strFirstName, then another string variable called strLastName, and an integer variable called intAge.

  Complete the leadership in action case study

Complete the Leadership in Action case study for Lehman Brothers on page 276-277 in your textbook.

  Effective project manager

What are the skills necessary to be an effective Project Manager? How important is it for a project manager running an IT project to have technical skills in technology being used in the project they are running? Explain and elaborate.

  Write the codeassignment 1object-oriented designwrite a

write the codeassignment 1object-oriented designwrite a program that allows an instructor to keep a grade book. each

  Rewrite a c++ program

I have Assign in C++ , I create evrething but my project not work also Iput it all documents.

  Displays the number invoices-average invoice amount

Modify the code so it displays the number of invoices, the average invoice amount, and the average discount amount when the user ends the program. Then, test this change.

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