4.15 The author of this book now lives in Australia. In 200% individual citizens
ID: 643934 • Letter: 4
Question
4.15 The author of this book now lives in Australia. In 200% individual citizens and residents of Australia paid the following income taxes: In addition, a flat 1.5% Medicare levy is charged on all income. Write a program to calculate how much income tax a person will owe based on this information. The program should accept a total income figure from the user, and calculate the income tax. Medicare levy, and total tax payable by the individual.Explanation / Answer
TaxableIncome=input('Please provide taxable income in Australian Dollars:'); IncomeTax=0; MedicareLevy=(TaxableIncome*0.015); TotalTax=IncomeTax + MedicareLevy; if IncomeTax>0 && MedicareLevy>0 end if TaxableIncome>=0 end if TaxableIncome>=0 && TaxableIncome6000&& TaxableIncome20000 && TaxableIncome50000 && TaxableIncome60000 IncomeTax=15580+0.47*(TaxableIncome-60000); end fprintf('Income Tax is %f. ', IncomeTax); fprintf('Medicare Levy is %f. ', MedicareLevy); fprintf('Total Tax is %f. ', TotalTax);Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.