Count not the way I think it should

Below is a vary simple count routine. It will work just fine as is. Why does it do a full count and then do the delay.

[code]


void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);

}

void loop() {
  // put your main code here, to run repeatedly:
  for (int C = 0; C < 5; C++)
    Serial.println(C);
  delay(1000);
}

[/code]

Why doesn’t it print 1, then delay, print 2 then delay, and so on?

Because you did not use brackets in the for loop, it only executes the single statement. You want:
for(//something)
{
serial.println(c);
delay(1000);
}

Thank you it works just fine now.