Problem with the "for" loop

the serial port write nothing when i launched the program nothing happen in the serial bus. why did my for loop doesnt do anything ? please help me !

PS: it's just a simple version of my code but

int x;

void setup() {
  Serial.begin(9600);
}

void loop() {
  x = 0;
  for (int y = 0;y == 10;y++){
    x++;
    Serial.print(x);
    delay(200);
  } 
}

Your for loop will execute if y is equal to 10. You initialize y to 0 then check to see if y =10, if y= 10 it will execute the body. Since y does not equal 10, the body never executes. Make it so y less than 10 or less than or equal 10 and it will execute.