Turing Help!
Hey,
I need to create a simple Turning program that calculates grades for a class. This is no problem, but I need the program to say
"this student has failed" if my variable CourseGrade is less then 47
and "This student barely passed the course" if my variable CourseGrade is greater than or equal to 47 but less than 50.
I tried:
if courseGrade < 47 then
put " This student has failed."
else
courseGrade >= 47 < 50
put "This student barely passed the course."
Basically, what sybtax do I use to say greater then or eqal to 47 but less than 50.
Thanx!
|