#include<stdio.h>
void main(){
int N,i,j;
printf("enter 'N':
");
scanf("%d",&N);
printf("
");
for(i=1;i<=N;i++){
for(j=1;j<=i;j++){
printf("* ");
}
printf("
");
}
printf("
");
}
#include <stdio.h>
int main()
{
int n, i;
for(n = 1; n <= 20; n = n + 1) {
for(i = 1; i <= 10; i = i + 1) {
printf("%d X %d = %d
", n, i, n*i);
}
}
return 0;
}