bsc

Comprehensive codebase and cou...
Log | Files | Refs | Activity | README | LICENSE

root / semester_1 / practice-c / pc003.c

pc003.c (362B)


      1 /* Pattern :
      2     1
      3     2   4
      4     3   6   9
      5     4   8   12  16
      6     5   10  15  20  25
      7 for n = 5
      8 */
      9 
     10 #include <stdio.h>
     11 int main()
     12 {
     13     int i, j, n;
     14     printf("Enter n : ");
     15     scanf("%d", &n);
     16     for (i = 1; i <= n; i++)
     17     {
     18         for (j = 1; j <= i; j++)
     19         {
     20             printf("%d\t", i * j);
     21         }
     22         printf("\n");
     23     }
     24     return 0;
     25 }
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror