My first sketch, did i do it right?

a, does it look correct for arduino code? h

You could make more use of the "const" qualified for things like your pin identifiers.

 Serial.println"display digits 1000,100,10,1";

That's not good