You are to write a program to compute grades for computing program. Your program
should perform the following;
1. Accept input (in marks) from users
2. Calculate final mark taking into account exam and incourse marks as follows;
a. System must prompt the user for one’s name, student id, exam and incourse
marks. [You may assume the weightage for exam and incourse is 50%
respectively]
b. Display final mark (see 3(b) for other conditions)
3. Display final grade
a. The possible grades are:
0 <= average mark < 50 - NN
50 <= average mark < 60 - PA
60 <= average mark < 70 - CR
70 <= average mark < 80 - DI
80 <= average mark <= 100 - HD
b. A student would have failed if marks obtained is less than 50 for either the exam
or incourse component in which case the final mark for the student would be the
lower of the two.
Example:
Exam Mark (%): 40
Incourse Mark (%): 60
Final Mark (%): 40
1
Expert's answer
2012-03-28T16:12:36-0400
Unfortunately your question requires a lot of work and cannot be done for free. Please, submit it as an assignment to our control panel and we'll assist you
Comments
Leave a comment