for loop in programming code example Example: for loop for(int i = 0; i < some_number; i++){ //inside loop do whatever you want }