Question
Write one C++ full program (Dev C++) which incorporates all six functions and do a flowchart. Question: You are working in the national taxation department
Write one C++ full program (Dev C++) which incorporates all six functions and do a flowchart.
Question: You are working in the national taxation department (LHDN) as a programmer. Your superior asked you to design and develop a complete computer system that will enable you to calculate and print the actual amount of salary an employee obtains from a company, based on the income tax table provided below:
Salary Range (RM) | Income tax (%) |
---|---|
<3000 | 0 |
3000-4999 | 6 |
5000-6999 | 8 |
7000-7999 | 12 |
8000-8999 | 16 |
>=9000 | 40 |
LHDN would return some amount of the taken taxation of some items to the employee who pays tax, as shown in the following table:
Item | Return tax(%) of the item price |
---|---|
Book | 6 |
Laptop | 13 |
Sports item | 11 |
Your superior had insisted repeatly on saying "Bear in mind, the return tax amount must not exceed the paid income tax".
After the program shows the results, it would ask the user whether to continue taking another employee's salary details and do the calculation or exit the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started