![]() |
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.
All times are GMT -7. The time now is 08:11 PM. |