Computer Science, asked by Cobralego, 1 day ago

The ‘if’ structure begins with the word ‘if’ and then has a

Answers

Answered by asiyaak077
1

Answer:

the syntax for the conditional statement 'if' is:-

if (/* condition*/)

{

// body

}

the same goes for else but just this time there is no condition because if the condition given in the ‘if’ statement is false then only else will print.

so the syntax for else statement is:-

else

{

//body

}

Similar questions