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

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

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5