(Latest Revision: Saturday, February 26, 2011)
Script started, output file is script.txt john@lucifer: a.out Please enter your taxable income as a non-negative number: -12.34 You entered a BAD VALUE for your income. Please run the program again. john@lucifer: a.out Please enter your taxable income as a non-negative number: -0.01 You entered a BAD VALUE for your income. Please run the program again. john@lucifer: a.out Please enter your taxable income as a non-negative number: 0 Your taxable income is: 0.00 For filing status Single your tax is: 0.00 john@lucifer: a.out Please enter your taxable income as a non-negative number: 8012.74 Your taxable income is: 8012.74 For filing status Single your tax is: 801.27 john@lucifer: a.out Please enter your taxable income as a non-negative number: 32498.04 Your taxable income is: 32498.04 For filing status Single your tax is: 4455.96 john@lucifer: a.out Please enter your taxable income as a non-negative number: 175000.00 Your taxable income is: 175000.00 For filing status Single your tax is: 42866.75 john@lucifer: a.out Please enter your taxable income as a non-negative number: 493524 Your taxable income is: 493524.00 For filing status Single your tax is: 150377.15 john@lucifer: exit exit Script done, output file is script.txt