spyglass: $cat print_one.c main() { int a,b,c; char k[]="GCJDIEGGKCKCKCKCKCKCKCIGOA"; // decide number of spaces and '!' /* G-A ==7 means print 7 !s. * C-A ==3 means print 3 spaces. * J-A ==10 means print 10 !s. * ( you can see only 9 !s since we print one new line after 3 !s * and so on */ for (b=0, c=10;a=k [b++ ]; ) for(; a-- > 64 ; ) if( ++c == 24 ) putchar( c=10 ); // print new line as well as init c to 10 else // 32 is space and 33 is ! putchar ( 32 + (b%2) ); /* if b is even, printf 33 * or change last bit of 33 base 2. * it become 32 */ } spyglass: $gcc print_one.c ./a spyglass: $./a.out !!!!!!! !!! !!!!!! !!! !!!!! !!! !!! !!! !!!!!!! !!! !!!!!!! !!! !!!!!!! !!! !!!!!!! !!! !!!!!!! !!! !!!!!!! !!! !!!!!!! !!! !!!!! ! !!!!!!!!!!!!! ----------------------------------------------------------- Could you able to see a BIG numeric 1 ? Press Backspace to see previous page