READ A
READ B
READ C
IF C>A THEN
IF C>B THEN
PRINT "C must be smaller bla bla.."
ELSE
PRINT "Proceed to next stage"
ENDIF
ELSE
PRINT "B CAN BE SMALLER THEN C"
ENDIF

Could someone explain to me the logic of calculating the number of and branch (MINIMUM for both)for this task. I thought I understand these sort of tasks but this one got me stuck actually.



Source link https://sqa.stackexchange.com/questions/35069/--statement-and--coverage

LEAVE A REPLY

Please enter your comment!
Please enter your name here