Question: Consider the code segment. IF ((courseGrade > 85) AND (finalExam > 90)) { finalGrade A } ELSE { IF ((courseGrade > 85) OR (finalExam >
Consider the code segment. IF ((courseGrade > 85) AND (finalExam > 90)) { finalGrade "A" } ELSE { IF ((courseGrade > 85) OR (finalExam > 90)) { finalGrade "B" } ELSE { IF ((courseGrade > 65) AND (finalExam > 80)) { finalGrade "C" } ELSE { IF ((courseGrade > 60)) { finalGrade "D" } ELSE { finalGrade "F" } } } } For which values of courseGrade and finalExam will finalGrade have the value of "B" from the following ? a.When the value of courseGrade is 90 and the value of finalExam is 50 b.When the value of courseGrade is 70 and the value of finalExam is 80 c.When the value of courseGrade is 82 and the value of finalExam is 80 d.When the value of courseGrade is 75 and the value of finalExam is 90
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
