CheckPoint Sequential and Selection Processing Control Structure

# CheckPoint Sequential and Selection Processing Control Structure

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

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

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### 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
Ask a homework question - tutors are online