Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 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 Resposta
+ 1
For an if-else argument,
If (parameters) {argments};
Else {arguments}
For example,
If (x<2)
{cout <<x;}
Else {cout << "error";}