APC-PRAC-032.c (799B)
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 /* 8 Pattern: 9 A 10 B B 11 C C C 12 D D D D 13 E E E E E 14 */ 15 /* Author = Amit Dutta, Date - 13th November, 2025 */ 16 // File Name - amit1311202509.c (LAB), APC-PRAC-032.c (Local) 17 18 // This code has not been compiled. 19 // If you find any issues, please create a new issue on GitHub regarding them. 20 // Go to this link to create a new issue: https://github.com/notamitgamer/bsc/issues 21 22 #include<stdio.h> 23 int main() { 24 int n, i, j; char temp = 'A'; 25 printf("Enter the n : "); 26 scanf("%d", &n); 27 for(i = 1; i <= n; i++) { 28 for(j = 1; j <= i; j++) { 29 printf("%c\t", temp); 30 } 31 temp++; 32 printf("\n"); 33 } 34 return 0; 35 }