Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are requested to develop a program to calculate the income tax for the user as shown in fig 1. The income tax is charged

image text in transcribed
You are requested to develop a program to calculate the income tax for the user as shown in fig 1. The income tax is charged based on the percentage of the income received by the user per annum as shown in table 1. Users eligible for a tax deduction from the numbers of children they have as shown in table 2 and also from the epf/insurance they paid for that current year as shown in table 3. Tax = income per annum * % (refer to table 1) Tax payment = tax - Children deduction - epflinsurance deduction Income Per Annum (RM) Tax (RM) >100000 Income per annum * 0.1 50000 - 80000 Income per annum 0.08 10000 Epf/Insurance Payment *0.1 5000-10000 Epf/Insurance Payment -0.05 10 ii. epf(): a function to calculate a epf/insurance tax deduction IV. cmdcalculate(): a procedure that calculate the tax payment

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 24th International Conference Dexa 2013 Prague Czech Republic August 2013 Proceedings Part 1 Lncs 8055

Authors: Hendrik Decker ,Lenka Lhotska ,Sebastian Link ,Josef Basl ,A Min Tjoa

2013 Edition

3642402844, 978-3642402845

More Books

Students also viewed these Databases questions

Question

How to prepare washing soda from common salt?

Answered: 1 week ago

Question

Explain strong and weak atoms with examples.

Answered: 1 week ago

Question

Explain the alkaline nature of aqueous solution of making soda.

Answered: 1 week ago

Question

10. Are you a. a leader? b. a follower? _______

Answered: 1 week ago

Question

What did they do? What did they say?

Answered: 1 week ago