You can get rid of this: print grade
and change your module to this:
gradePercent(grade){
if gradePercent < 60 then
print “Fail”
else
print”Pass”
}
If you do those two things, you will have fulfilled your requirements. So what's the problem?
BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354