Main module - Set salary excess is <=1499.99 +(...

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

View Full Document Right Arrow Icon
Main module Declare Salary Amount as string Declare Base ,Excess, Salary as real Write “payroll Program” Write “This program computes the tax on payroll,” Call Input Data Module Call Output Module End Main ModuleWrite Input Data module Write "Enter Salary" Input Salary If (salary<=(1499.99) Set base_tax=0 Set excess_tax=salary Set rate=.15 else If (salary<=(2999.99) Set base_tax=225.00 Set excess_tax=Salary-1500 Set rate=.16 Else if (salary<=(4999.99 ) Set base_tax=465.00 Set excess_tax= Salary-3000.00 Set rate=.18 Else if(salary<=( 7999.99 ) Set base_tax=825.00 Set excess_tax= Salary-5000.00 End if Perform Calculations module
Background image of page 1

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

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

Unformatted text preview: Set salary excess is &lt;=1499.99 +( input) + 15% If salary excess is 1500.00 &lt; 2999.99 +(input)+16% +225.00 if16% +465.00 If18% +825.00 Output Results module Write salary tax: ,tax...
View Full Document

This note was uploaded on 07/06/2011 for the course IT 210 IT/210 taught by Professor Mathhews during the Spring '11 term at University of Phoenix.

Page1 / 2

Main module - Set salary excess is &amp;amp;lt;=1499.99 +(...

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

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