Yes, either way is okay. But you should be consistent. Also using a consistent indentation style will make your programs much easier to read.

Jim