What the syntax of simple if statement
Answers
Answered by
1
if(condition)
statement 1
statement 2
statement n
statement 1
statement 2
statement n
Answered by
1
if(condition)
statement 1 or more
else
statement 2 or more
Note:"Else"statement is not necessary to write in the program
statement 1 or more
else
statement 2 or more
Note:"Else"statement is not necessary to write in the program
Similar questions