why does the parent process fork 2 processes when created changes to a non 0 value
int main() {
  int iterations = 2;
  int created = 0; 
  int n = 0;

  for (int i = 0; i < iterations; i++) {
    if (created == 0){
      int created = fork();
      if (created < 0) {
        perror("fork");
        exit(1);
      } else if(created > 0) {
        wait(&n); 
      }
    }
        
    printf("ppid = %d, pid = %d, i = %d\n", getppid(), getpid(), i);
  }
  return 0; 
} 
