Question

5.What the following code does? Replace the following while loop with a for loop: (10 Points) int s=0, i=2; while(i<=200) { s=s+i; i=i+2; }

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5