difference between counter controlled loop, do while, and while loop
Let's consider counter controlled loop and while loop. While loop is being executed if some statement which is checked before executing comes true. Counter controlled loop is performed specified number of times. So, counter controlled loop is the form of a while loop where boundedness condition on the counter is imposed.