Assignment
To test more than one condition, you can nest a decision structure inside another decision structure.
Write a program in pseudocode that will allow the user to enter their annual income and then display the tax percentage for that income level.
Income
|
Tax
|
Below $5000
|
0%
|
$5000 - 10,000
|
2%
|
$10,001 - 15,000
|
5%
|
$15,001 - 20,000
|
7%
|
Your document must include:
• Pseudo code for the entire program.
• You may use Microsoft Visio to create your flowchart and export the drawing as a JPG. Paste your image in your Word document with your pseudo code. Use File >> Export As >> Image.
• Internal documentation, using block and/or line comments.
• You must declare all variables before using them in your pseudo code. Don't forget that variables are just names. You need to assign values to variables. For example:
Set price = 20
Or
Set dollars = 2.75
• Your pseudo code must illustrate all calculations.
• Your flowchart must depict each step in the program.
• Your flowchart must use 3 types of symbols: ovals (start and end terminal symbols), parallelograms (input and output symbols), and rectangles (processing symbols).
• All symbols must be connected by arrows that represent the flow of the program. The flow must make logical sense.