Question: Write a program to print the grade of a student according to the following criteria: (i) marks > 80 A+ Grade (ii) 70 < marks
Write a program to print the grade of a student according to the following criteria:
(i) marks > 80 A+ Grade
(ii) 70 < marks 80 A Grade
(iii) 60 < marks 70 B Grade
(iv) 50 < marks 60 C Grade
(v) 40 < marks 50 D Grade Generate all du-paths and write test cases for all du-paths.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
