Question
Study the following sample C code located on the right side and a flowchart diagram located on the left side. They are closely related to
Study the following sample C code located on the right side and a flowchart diagram located on the left side. They are closely related to each other.
(i) What is the name of the looping structure utilized in the C code of Figure 1? [1 mark]
(ii) Identify each answer for each Label A, Label B, Label C, Label D, Label E and Label F in the flowchart diagram on the left. You can refer to the C code on the right. [7 marks]
*for example: Label A = int y;
(ii) The shape of flowchart used in writing the answer for Label B is wrong. What is the correct shape of flowchart for Label B.? [1 mark]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started