Question

Based on the flowchart given in Figure 6, answer parts (i) to (iii) of this question. i.Convert the given flowchart into its equivalent C++ code excerpt. ii.How many times the

loop repeats? iii. Modify your code by using decrement counter loop without changing the variables and the numberof loops involved.

Question image 1Question image 2Question image 3Question image 4Question image 5