From c7b5543f5cf388036e352cf8203e0815403417c1 Mon Sep 17 00:00:00 2001 From: "offor lawrence .c" <102425382+lawrenceDEgreat@users.noreply.github.com> Date: Fri, 22 Apr 2022 16:02:42 -0700 Subject: [PATCH] Create GRADING SYSTEM MY GRADING SYSTEM CODE --- GRADING SYSTEM | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 GRADING SYSTEM diff --git a/GRADING SYSTEM b/GRADING SYSTEM new file mode 100644 index 0000000..2cfe986 --- /dev/null +++ b/GRADING SYSTEM @@ -0,0 +1,41 @@ + + +=0 && $grade <=39: + echo "your score is $grade Grade: F"; + break; + case $grade >=40 && $grade <=44: + echo "your score is $grade Grade: E"; + break; + case $grade >=50 && $grade <=54: + echo "your score is $grade Grade: D"; + break; + case $grade >=55 && $grade <=59: + echo "your score is $grade Grade: CD"; + break; + case $grade >=60 && $grade <=64: + echo "your score is $grade Grade: C"; + break; + case $grade >=65 && $grade <=69: + echo "your score is $grade Grade: BC"; + break; + case $grade >=65 && $grade <=69: + echo "your score is $grade Grade: B"; + break; + case $grade >=70 && $grade <=74: + echo "your score is $grade Grade: AB"; + break; + case $grade >=75 && $grade <=100: + echo "your score is $grade Grade: A"; + break; + + + default: + print("your score is out of range"); + break; +} + + +?>