0
Code wont be build like this
it's missing the curly braces and therefor the answer is a syntax error
1 Answer
+ 1
Could you post a link to your code here?
That would greatly assist us in helping you out.
"Syntax of if...else
if (testExpression)
{
// codes inside the body of if
}
else
{
// codes inside the body of else
}"
Source: https://www.programiz.com/c-programming/c-if-else-statement