The Internal Revenue Service allows tax payers who itemize deductions to write-o
ID: 3648534 • Letter: T
Question
The Internal Revenue Service allows tax payers who itemize deductions to write-o mileagedriven for various purposes. During the 2012 tax year, the following rates have been set:
55.5 cents per mile for business miles driven
23 cents per mile driven for medical or moving purposes
14 cents per mile driven in service of charitable organizations
Write a program to determine a user's total deduction for mileage driven. Your program will prompt
the user for the total mileage driven in 2012 for each category. It will add up the total deduction and
report it to the user. Note: the user should be able to enter fractional miles, however you should report
only whole cents (the IRS allows you to round up only if the fractional cent is greater than one half).