PROGRAMMING STYLE
- All statements should be written in lowercase letters
- Uppercase letters are used only for symbolic constants
- The programmer can write the statement anywhere between the two braces following the declaration part
- The user can also write more than one statement in one line separating them with a semicolon
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgum75V9hr5BCtbE4CApRgOmN17CqpK79gkKFy0jq_zVUCfBGLPFxY049c2D4Kg5pbSWaSoR8bqhXKFv5TKhzoipQmdjLTW8ShodDp3-GX0t9KPQe0s-RRYD6If64k6G4rW52foWab84_7H/s320/23.JPG)
- The opening and closing braces should be balanced, i.e., if opening braces are three, then closing braces should also be three
- Use comments whenever necessary.
- Comments increase the program readability and also help to understand the program logic
No comments:
Post a Comment