# include // // Here is a program which uses a double loop. // // It's actually a little unusual, because there are no statements // inside the loop! So the whole program involves carrying out the // instructions inside the for() statements (and, of course, the printf()!). // int main () { int i; int j; for ( i = 2; i <= 100; i++ ) { for ( j = 2; i % j != 0; j++ ) { } printf ( "%i is divisible by %i\n", i, j ); } return 0; }