We will show the simple example of for loop. For loop is based on 3 parameters . First is to initialize the value or we can say starting point . Second parameter is for condition. Third is for incrementing the