karilynngodd
Oct 17, 2010, 01:05 PM
well that would be an if-then-else statement so
//Declare variables
Declare real gpa
//Get gpa
Display 'Enter your gpa'
input gpa
If gpa >= 2.0 and gpa <= 3.5 Then
Display ''Your gpa is between 2.0 and 3.5''
else
Display "whatever the output is supposed to be"
end If
That's the best I can do without knowing what the outputs are supposed to be.