#include <stdio.h> int main( void ) { for( unsigned r=1; r!=10; ++r ) for( unsigned c=1; c<=r; ++c ) printf( "%u*%u=%-2u%c", c, r, c*r, " \n"[c==r] ); }