Go - Decision Making
Go - Decision Making : Decision making systems require that the programmer specify one or more situations to be evaluatedThere are following type of Decision Making.
|Sr.No||Statement & Description|
An if announcement consists of a boolean expression followed through one or more statements.
An if statement can be followed by using an non-obligatory else announcement, which executes when the boolean expression is fake.
nested if statements
You can use one if or else if statement inner another if or else if assertion(s).
A transfer assertion lets in a variable to be examined for equality in opposition to a list of values.
A select announcement is similar to transfer announcement with difference that case statements refers to channel communications.