Page 1 of 1

Given a Program Design Language (PDL) to find the final value and quality : START int FinalValue ; char Quality

Posted: Fri May 20, 2022 11:41 am
by answerhappygod
Given a Program Design Language (PDL) to find the final value
and quality :
START
int FinalValue ;
char Quality
INPUT FinalValue;
IF (FinalValue < 50) Quality = 'E';
ELSE IF (FinalValue < 65)
Quality = 'D';
ELSE
IF(FinalValue < 75) Quality ='C';

ELSE
IF (FinalValue < 85) Quality
='B';

ELSE Quality = 'A';

ENDIF

ENDIF
ENDIF
ENDIF

PRINT FinalValue;
PRINT Quality;
END
Please create the flowgraph and find the cyclometic complexity