Loop (Iteration) Statements in JavaScript

Loop(Iteration) Statement A loop describes the process in a software program/script that repeats the same set of instructions over and over until it receives the order to stop. Loops offer a quick and easy way to execute something repeatedly. There are 4 types of loop in JavaScript: for statment for/in statement while statment do/while statement for Statement The for is a … Read more

Do While Statement in C Programming

like a while statement,  “ do while statement” repeats a set of statements if condition is true. If condition is false the flow of control do not enter inside the do-while loop. “do-while” first execute the body of loop than tests the condition. Means even if the condition if false do-while executes at least ones. … Read more