+ 1
Plis tell me when to open the
curly braces and when to close the curly braces. this thing is confusing me. as there are two or more of them opened and being closed
1 ответ
+ 1
For an if-else argument,
If (parameters) {argments};
Else {arguments}
For example,
If (x<2)
{cout <<x;}
Else {cout << "error";}