PHP Decision Making
Normally in PHP programming language statement are execute in a sequenced manner. Sometime we need to execute some statement based on some specific condition. Depending on the condition either we have toRead More…
Normally in PHP programming language statement are execute in a sequenced manner. Sometime we need to execute some statement based on some specific condition. Depending on the condition either we have toRead More…
When one if statement contains another if statement then such type of structure is known as nested if. Nested if structure also helps in multi-way decision making where one condition depends onRead More…
When we have multiple options available or we need to take multiple decisions based on available condition, we can use another form of if statement called else…if ladder. In else…if ladder eachRead More…
If …else statement is an extension of simple if statement. When we have two different path to follow,then simple if statement cannot be useful because if provides a single path to follow.Read More…
Normally in c programming language statement are execute in a sequenced manner. Sometime we need to execute some statement based on some specific condition. Depending on the condition either we have toRead More…
Java provides IF conditional statements for executing statements based on some condition It can be used to take decision and follow certain execution path conditionally It has the following form: ifRead More…