Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 10 Weeks Ago, 5 Days Ago |
Questions Answered: | 4870 |
Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Please help me complete algorithm and code segments. Follow the instructions on the attached assignment sheet and develop a C++ program to perform the task.
Â
Assignment 2Due:Demo is required in your lab by April 25, 2017Submit the file on Etudes by 11:59 pm on April 25, 2017The program must include an Id block, and detailed algorithm as a comment block; refer to the sampleoutput for the format.This programming assignment will give you an introduction to the use of data files. The user will be asked for an inputand output file name.The input file contains name, ID (4 digit integer), and the annual income for a list of people. Inresponse, your program will verify the ID number and the year's earnings are numeric and if values are verified calculatethe amount of income tax which should be paid and print a report similar to the sample below. Tax is calculated accordingto the table below. If data is Incorrect print an error message and continue processing the next set of data.A sample runsof the program are provided below, with user input shown inboldtype. Your program isrequiredto produce outputsimilarto the form shown below. Notice the way in which special cases should be handled.Requirements:ï‚·Full documentation and good programming practices are required.ï‚·Use a loop to repeat the process until all data is read from the input file.If your income isless than $3500Your tax is$0.00if your income is overbut less thanYour tax isplusof the amount over$3,500$8,000$06%$3,500$8,000$20,000$270.0011%$8,000$20,000$34,000$1590.0017%$20,000$34,000$54,000$3970.0024%$34,000$54,000 or more$8770.0032%$52,000Sample input file:Miss Informed12543232560.0Sweet Tooth54329500Bad Data1255-4500.0John Smith12253500.0Nancy Brown1555154500.00
Â
Attachments:-----------