C++ while Loop
A while loop is another kind of loop control structure. The loop has initial condition and a test condition to pass before the actual loop body starts. The loop is incremented or decremented inside of the loop body.The general structure of while loop is given below.The initial expression is a simple assignment where a loop … Read more