Tuesday

Loop in simple way: easy to learn (Information tech)

Sometimes we want some part of our code to be executed more than once. We can either repeat the code in our program or use loops instead. It is obvious that if for example we need to execute some part of code for a hundred times it is not practical to repeat the code. Alternatively, we can use our repeating code inside a loop.A loop statement allows us to execute a statement or group of statements multiple times.

see full

1 comment: