75
Swift Nested if-else Statement
Swift language facilitates you to use an if-else statement inside an if-else statement. Nested if-else statement can also be used in switch statement in Swift.
Example:
Output:
The largest number is 25
Next TopicSwift Gaurd Statement