CheckPoint Sequential and Selection Processing Control Structure

CheckPoint Sequential and Selection Processing Control Structure

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

View Full Document Right Arrow Icon
Declare Salary as Integer Declare Rating as Character Write “Enter Salary.” Input Salary If Salary<1500 Then Set Rating = “A” If Salary>1499.99<3000 Then Set Rating = “B” If Salary>2999.99<5000 Then Set Rating = “C” If Salary>4999.99<8000 Then Set Rating = “D” If Salary>8000 Then Set Rating = “E” End If If Rating = “A” Then Calculate (Salary-0) * 15% + 0 If Rating = “B” Then Calculate (Salary-1500) * .16 + 225 If Rating = “C” Then
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.

Page1 / 2

CheckPoint Sequential and Selection Processing Control Structure

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