1 main 3e 2 int counter 4 for counter 1 counter lt quot src quot https files transtu 5152109
1 main) 3E { 2 int counter; 4 for (counter= 1; counter<=” src=”https://files.transtutors.com/cdn/qimg/fc651699ecb64a03b59058a715dbdff5.jpg” aria-describedby=”dds”>
Instructions Now, you introducing a “for” loop. This loop runs a pre-determined number of times. The “for” loop initiates the counter variable, determines how many times the loop will run and generally increments or decrements the counter variable. In this example, the counter is initialized to 1, and it increments by one each time the loop runs. The loop rings the value of the counter variable each time it runs. Here's the Flowchart: Main Integer counter Next counter 1 to 10 Done Output counter End And here is the code: Unit 2 Guided Practice 7.c #include 1 main) 3E { 2 int counter; 4 for (counter= 1; counter