require "grades/version" class Gradescore def self.runcheck(score) if score <= 40 ans = "Failed!" elsif (score > 40 && score <=50) ans = "pass" elsif (score > 50 && score <=60) ans = "2:2" elsif (score > 60 && score <=70) ans = "2:1" else ans = "1:1" end return ans end end