Conditionals and Loops
Condition: It provides check for the statement.
if-else statement:- It is used to check the condition, it checks the boolean condition True or false.
Syntax:-
if (boolean expression True or false) {
//Body
} else {
//Do this
}
Example:-
pu...
saswatpal.hashnode.dev4 min read