Questions


September 2023 2 8 Report
See the code below

READ mark;
IF(mark > 90)
GRADE = ‘A’;
ELSE IF(mark > 81 && mark < 90)
GRADE = ‘B’;
ELSE IF(mark > 71 && mark < 80)
GRADE = ‘C’;
ELSE IF(mark > 61 && mark < 70)
GRADE = ‘D’;
ELSE IF(mark < 60)
GRADE = ‘F’;
PRINT GRADE;

predict the number of independent paths to be tested.

The answer is 9. But how?

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.