PropellerAds

Differences between WHILE and DO WHILE loops

No comments :
Dfferences between WHILE and DO WHILE loops

Differences between WHILE and DO WHILE loops

variables While Do While
Basic syntax Initialisation
while (condition)
{
increament/decrement
}
do
{increment/decreament}
while(condition)
conditions the controlling
condition appear at
strat of the loop
conditions appear
at end of the loop
Iterations The iterations do
not occur if condition
is false
The iterations occurs
atleast one time even
if condition is false
types Entry controlled Exit controlled

if you have any query regards above table please comment below

No comments :

Post a Comment