Looping in programming languages is a feature which facilitates the execution of a set of instructions/functions repeatedly while some condition evaluates to true. Loops make… Read More
Tag Archives: Scala-Decision-Making
In Scala, for loop is also known as for-comprehensions. A for loop is a repetition control structure which allows us to write a loop that… Read More
In Scala, we use a break statement to break the execution of the loop in the program. Scala programming language does not contain any concept… Read More
Decision making in programming is similar to decision making in real life. In decision making, a piece of code is executed when the given condition… Read More