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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply