Wednesday, May 1, 2013

C++ Program to Print 1-100 Using for loop

Uses of For Loop

#include<stdio.h>
void main()
{
int i;
for(i=1; i<=100; i++)
printf("%d, ",i);
}

for loop, 1-100 using for loop. 1 to 100 using for loop

No comments:

Post a Comment