bsc

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

pc003.c (498B)


      1 /*
      2  * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025
      3  * Repo: https://github.com/notamitgamer/bsc
      4  * License: MIT
      5  */
      6 
      7 /* Pattern :
      8     1
      9     2   4
     10     3   6   9
     11     4   8   12  16
     12     5   10  15  20  25
     13 for n = 5
     14 */
     15 
     16 #include <stdio.h>
     17 int main()
     18 {
     19     int i, j, n;
     20     printf("Enter n : ");
     21     scanf("%d", &n);
     22     for (i = 1; i <= n; i++)
     23     {
     24         for (j = 1; j <= i; j++)
     25         {
     26             printf("%d\t", i * j);
     27         }
     28         printf("\n");
     29     }
     30     return 0;
     31 }
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror