//limit can be any number //you can use any comparison operator for(int iteration = 0; iteration < limit_number; iteration++) { //action in for loop }