Given a Program Design Language (PDL) for finding maximum value : START int A,B,C,MAX,MIN; INPUT ”A Value : "; INPUT ”

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) for finding maximum value : START int A,B,C,MAX,MIN; INPUT ”A Value : "; INPUT ”

Post by answerhappygod »

Given a Program Design Language (PDL) for finding maximum value
:
START
int A,B,C,MAX,MIN;
INPUT ”A Value : ";
INPUT ” B Value : ";
INPUT ”C Value : ";
IF ( A>B )
IF ( A>C )
Max = A;
ELSE
Max
= C;
ENDIF
ELSE IF ( B>C )
Max = B;
ELSE Max = C;
ENDIF
ENDIF
CETAK "Print Maximum : ", Max;
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