You are viewing a single comment's thread. Return to all comments →
You don't have to, if it is only one line statement~ =D if there are multiple line, then you will have to put {}. For example:
if (a == 0) c++; else if (a == 1) c--; else if (a ==2) { b++; b+c; }
Seems like cookies are disabled on this browser, please enable them to open this website
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →
You don't have to, if it is only one line statement~ =D if there are multiple line, then you will have to put {}. For example: