Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exam exercise1 exercise2 bonus exampoints = if exercise1 && exercise2
- then rawexam (bonus + exampoints)
- else rawexam exampoints
- rawexam points
- | points < 50 = 5.0
- | points < 54 = 4.0
- | points < 58 = 3.7
- | points < 62 = 3.3
- | points < 66 = 3.0
- | points < 70 = 2.7
- | points < 74 = 2.3
- | points < 78 = 2.0
- | points < 82 = 1.7
- | points < 86 = 1.3
- | points <= 120 = 1.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement