Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

Problem Statement You are required to write a python code to calculate a person's tax based on their salary

Computer Science Feb 24, 2023

Problem Statement You are required to write a python code to calculate a person's tax based on their salary. The salary should be entered from the console. Based on the salary entered the income tax, USC and PRSI should be calculated as follows: Income Tax: Up to (36,800 you are charged income tax of 20%. After that you are charged income tax of 40% . However if you are single then you get C1700 tax free and if you are married you get C2400 tax free. So this can be deducted before any tax amounts are paid. USC: Up to (12,000 USC is calculated as 0.5% Between 12000 and 21000 USC is calculated at 2% After that it is calculated at 4% PRSI: If you are a self employed worker you pay 6500 PRSI per year Otherwise you pay 6352 per year You are required to calculate each of the individual taxes (i.e. income tax, USC and PRSI). I Then calculate the total tax = income tax#USC+PRSI Display a summary in the console of the original salary per annum, the individual taxes paid and the overall tax paid. Also display the take home pay after all tax has been deducted (including any tax free allowances). All text should be presented in a suitably formatted manner.

Expert Solution

For detailed step-by-step solution, place custom order now.
Need this Answer?

This solution is not in the archive yet. Hire an expert to solve it for you.

Get a Quote
Secure Payment