The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 2 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
2) Create 3 files for this program. Taxpayer.h, Taxpayer.cpp, and main.cpp
Create a class called Taxpayer. Data members (private variables)include a social security number, a full name, a yearly gross income, and the tax owed.
15% for incomes under $30,000
28.5% for incomes $30,000 or higher.
Sample Execution:
Enter Tax Payer Name (QUIT to Quit): Mike Stevens
Enter SSN for Mike Stevens: 123-33-3333
Enter Income for Mike Stevens: 45000
Enter Tax Payer Name (QUIT to Quit): Cindy Etter
Enter SSN for Cindy Etter: 123-33-3334
Enter Income for Cindy Etter: 95000
Enter Tax Payer Name (QUIT to Quit): Joe Blake
Enter SSN for Joe Blake: 123-33-3337
Enter Income for Joe Blake: 25000
Enter Tax Payer Name (QUIT to Quit): QUIT
Enter Tax Payer Name to Search For (QUIT to Quit): Mr. K
Mr. K is not found.
Enter Tax Payer Name to Search For (QUIT to Quit): Cindy Etter
Social Security Number: 123-33-3334
Income: $95000
Tax Owed: $27075
Other Tax Payers in this same bracket: Mike Stevens
Enter Tax Payer Name to Search For (QUIT to Quit): QUIT
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll