Computer Science, asked by balad6392, 1 year ago

give 3 difference between of if and if else statement in java?

Answers

Answered by simranrawal
0

Answer:

1

If is one way condition

If else is two way (or multi way) condition

2

Syntax :

if(condition)

{

Statements.

.

.

.

}

if(condition)

{

Statement

}

else

{

Statement

}

3

Flowchart in pic

Attachments:
Similar questions