#include <stdio.h> int main(void) { int a, b; for(b = 1; b <= 9; b++) { for(a = 1; a <= b; a++) { printf("%d*%d=%2d", a, b, a * b); printf(" "); } printf("\n"); } return 0; }