In general, in any programming language statements are executed sequentially. The first statement in our code is executed first, followed by the second statement, and so on. There may be a situation when you need to execute a block of code several numbers of times. Putting that block of code in loop helps to execute […]