C++ Program      Create a program that will compute the taxes owed from the table above. This assignment assumes Single filers. Prompt for the taxable income for a float value, a double value, and an integer value.  Create a function template as described in section 16.2 and use the template to create methods that calculates the taxes. Display the tax rate found for the reported taxable income (from Column 1) Display the taxes owed for each of the 3 variable types entered. The resulting taxes need to be the same data type as the given income. Be sure to include the upper and lower range values in the calculations. I.E - Be sure that $9875 can be calculated and not bypassed. Deliverable is a working CPP program. please work on. will be greatly appreciated

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

C++ Program   

  Create a program that will compute the taxes owed from the table above. This assignment assumes Single filers.

  1. Prompt for the taxable income for a float value, a double value, and an integer value. 
  2. Create a function template as described in section 16.2 and use the template to create methods that calculates the taxes.
  3. Display the tax rate found for the reported taxable income (from Column 1)
  4. Display the taxes owed for each of the 3 variable types entered. The resulting taxes need to be the same data type as the given income.

Be sure to include the upper and lower range values in the calculations. I.E - Be sure that $9875 can be calculated and not bypassed.

Deliverable is a working CPP program.

please work on. will be greatly appreciated   

Single filers
Tax rate
Taxable income
Tax owed
bracket
10%
$0 to $9,875
10% of taxable income
$987.50 plus 12% of the amount
12%
$9,876 to $40,125
over $9,875
$4,617.50 plus 22% of the amount
22%
$40,126 to $85,525
over $40,125
$85,526 to
$14,605.50 plus 24% of the amount
24%
$163,300
over $85,525
$163,301 to
$33,271.50 plus 32% of the amount
32%
$207,350
over $163,30O
$207,351 to
$47,367.50 plus 35% of the amount
35%
$518,400
over $207,350
$156,235 plus 37% of the amount
37%
$518,401 or more
over $518,400
Transcribed Image Text:Single filers Tax rate Taxable income Tax owed bracket 10% $0 to $9,875 10% of taxable income $987.50 plus 12% of the amount 12% $9,876 to $40,125 over $9,875 $4,617.50 plus 22% of the amount 22% $40,126 to $85,525 over $40,125 $85,526 to $14,605.50 plus 24% of the amount 24% $163,300 over $85,525 $163,301 to $33,271.50 plus 32% of the amount 32% $207,350 over $163,30O $207,351 to $47,367.50 plus 35% of the amount 35% $518,400 over $207,350 $156,235 plus 37% of the amount 37% $518,401 or more over $518,400
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education