diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md index 50d9d067e..0fea34d88 100644 --- a/CODING_GUIDELINES.md +++ b/CODING_GUIDELINES.md @@ -43,11 +43,11 @@ if (condition) { //code } -for(int a=0; a0) return; -c = 100/b; +if (b > 0) return; +c = 100 / b; ``` #### c. Using curly braces for single statement if blocks #### @@ -159,7 +163,7 @@ a += "b" Before and after the assignment there should be a space. One exception could be: for loops. ```c++ -for(int a=0; a