Enter the number of participants: Generate
Syntax:
while (var <= endvalue ){ code to be executed; }
do{ //code to be executed } while (var <= endvalue);
for(var=startvalue; var<=endvalue; var=var+increment){ code to be executed }