#include int main() { int x = 10; for ( int i = 1; i <= 7; i++ ) { for ( int j = 1; j <= i + 3; j++ ) if ( (x > 8) || ( (i > 5) && (j > 10) ) ) printf( "%d\n", x ); x = x - 1; } }