in reply to Re^2: do while loops
in thread do while loops
sum = 0;
for (x = 1; x <= 5; x++)
{ printf("%d", x);
sum = sum + x;
printf("The sum is %d", sum);
}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: do while loops
by f00li5h (Chaplain) on Jan 10, 2008 at 05:54 UTC |
In Section
Tutorials