Computer Science, asked by akash1304, 1 year ago

what is the syntax for if...else statement​

Answers

Answered by dvipada07
7

IF condition1 THEN

  [statementblock-1]

[ELSEIF condition2 THEN

  [statementblock-2]]...

[ELSE

  [statementblock-n]]

END IF

 

IF condition THEN statements [ELSE statements]


dvipada07: mark as brainlies pls
akash1304: tnxx bro
dvipada07: welcome
dvipada07: mark it the brailiest pls
Answered by RagaviRagavendra
5
Heya❤

The syntax for if-else statement is:

if ( expression)
statement 1;
else
statement 2;

hope it helps yu

✌✌✌

akash1304: thanks
RagaviRagavendra: ✌✌
RagaviRagavendra: wat happened
Similar questions