IT 210 week 3 check point

IT 210 week 3 check point - W3 CheckPoint: Sequential and...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: W3 CheckPoint: Sequential and Selection Processing Control Structure Answer may include: Process: 1. Display program title 2. Display directions 3. Get the salary 4. Calculate the taxes 5. Output the results Input: Salary (real: Salary) Output: Total taxes (real: Taxes) Salary Input-Process-Output Chart Input Processes Output Salary (from keyboard) Get Salary Salary Salary Calculate Taxes Taxes Salary, Taxes Output Taxes Salary, Taxes (to display) Main Module [img src="@19533989"] Calculate Salary Flow Chart [img src="@19533990"] Pseudocode Main program Declare salary as real Declare taxes as real Call Get Salary Module Call Calculate Taxes Module Call Output Taxes Module End main module Get Salary Print Enter the Salary: Get Salary Get Salary Calculate Salary Declare Base_Tax as real Declare Excess as real Declare Rate as real if(Salary <= 0 OR Salary >= 15000.00) Display Invalid Salary Set Base_Tax = 0.0 Set Rate = 0.0 Set Excess = 0.0 else if(Salary <= 1499.99) Set Base_Tax = 0.0Set Base_Tax = 0....
View Full Document

Page1 / 3

IT 210 week 3 check point - W3 CheckPoint: Sequential and...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online