e class="language-c++ highlighter-rouge"><span class="k">if</span><span class="o">/</span><span class="k">else</span></code>, <code class="language-c++ highlighter-rouge"><span class="k">for</span></code>, <code class="language-c++ highlighter-rouge"><span class="k">while</span></code>, etc., should always be wrapped in <code class="language-c++ highlighter-rouge"><span class="p">{}</span></code> and have proper line breaks, even if the body is only a single line. Using braces prevents accidents like the on