while (this is true) {
...do this...
}
|
do {
...do this...
} while (this is true)
|
#include <stdio.h>
int main() {
int numb;
for (numb = 1; numb <= 10; numb++ ) {
printf("%d\n",numb);
}
return 0;
}
|
| Source File | DOS Executable (run from DOS prompt) |