Category: Uncategorized
-
After Tax
$tax = 0.4 * ($income – 50000) + 0.2 * (50000 – 12500); } // Calculate the after-tax income $afterTax = $income – $tax; // Display the result echo ‘ Based on your income of £’ . $income . ‘, you owe £’ . $tax . ‘ in tax.’; echo ‘Your after-tax income is £’…