#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
int i,j,m;
for(i=1;i<=9;i++)
{
for(j=1;j<=i;j++)
{
m=i*j;
printf("%d*%d=%d\t",i,j,m);
}
printf("\n");
}
} |
|