I am a total newbie to Shell Scripting so please bear with me. I need to create a shell script called script1 that will calculate and then display letter grade of ABC2345.
- Read in the following grades from keyboard:
- Assignments 40%
- Test1 15%
- Test2 15%
- Final exam 30%
- Calculate and display the number grade using the weight of each factor above
- Convert the number grade to letter grade using the table below:
- Number Grade Letter Grade
- 90 - 100 A+
- 85 - 89 A
- 80 - 84
- 77 - 79 B+
- 73 - 76 B
- 70 - 72 B-
- 67 - 69 C+
- 63 - 66 C
- 60 - 62 C-
- 57 - 59 D+
- 53 - 56 D
- 50 - 52 D-
- 0 - 49 F
Any help would be appreciated :) Thank you!