Comments are put into your code to make it more easily understandable by others.
Header Section of Your Program - before your program you should have a section
with the title of the program, your name and the date.
//Greeting
Program
//By: N.E.
Body
//Date: Feb
2, 2003.
There should be regular comments in the code to explain what is happening.
White Space – the compiler doesn’t care if your write your entire program
on one line. However, the human reading your
code does care. Keep your lines of code short. Leave blank lines (white space)
between major sections of code.