Develop An Algorithm Using Raptor To Calculate And Display The Canadian Federal Income Tax For Any Given Income Provid 1 (56.29 KiB) Viewed 47 times
Develop An Algorithm Using Raptor To Calculate And Display The Canadian Federal Income Tax For Any Given Income Provid 2 (56.29 KiB) Viewed 47 times
Develop an algorithm, using Raptor, to calculate and display the Canadian federal income tax for any given income provided as input to the algorithm. The Canadian Federal income tax rates for 2022 are • 15% on the first $50,197 of taxable income, plus • 20.5% on the next $50,195 of taxable income (on the portion of taxable income over 50,197 up to $100,392), plus • 26% on the next $55,233 of taxable income (on the portion of taxable income over $100,392 up to $155,625), plus • 29% on the next $66,083 of taxable income (on the portion of taxable income over 155,625 up to $221,708), plus 33% of taxable income over $221,708 The expected input/output behavior of the algorithm is illustrated below for two examples: Taxable income: $99100 Income Tax : $17554.6650 Taxable income: $127889 Income Tax : $24968.7450
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!