One of the key features of method is it’s ability to work with parameters. Whenever you are calling a method you should always provide arguments that must be in the same order as their respective parameters (more…)
A method is strucure t group statements together to form function. You can define the a method just once and reuse it in other programs. (more…)
The if statements makes selections based on the single true or false conditions.
If there are multiple cases we can make the use of nested if else statements but this becomes very complicated. (more…)
Simple if statement execute an action if and only if the condition is true. (more…)