Use pseudocode to design a suitable program. In your program, make use of subprograms with parameters and arguments.
Computer and display the income tax due in the state of East Euphoria on a taxable income entered by the user, according to the following table:
Taxable Income Tax Due
From To
$0 $50,000 $0 + 5% of amount over $0
$50,000 $100,000 $2,500 + 7% of amount over $50,000
$100,000 ... $6,000 + 9% of amount over $100,000
1
Expert's answer
2011-10-07T12:55:19-0400
// Pseudocode for program that prompts user to enter Taxable Income // and computes and prints proper Tax Due for inputted amount
INIT TaxableIncome INIT TaxDue
PPRINT 'Enter Taxable Income' READ TaxableIncome
& & CALL ComputeTaxDue with TaxableIncome RETURNING TaxDue
PRINT 'Tax Due for this Taxable Income is ' PRINT TaxDue
Comments
Leave a comment