bsc

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

APC-PRAC-025.c (741B)


      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 	5    4    3    2    1
     10 	5    4    3    2
     11 	5    4    3
     12 	5    4
     13 	5
     14 */
     15 /* Author = Amit Dutta, Date - 13th November, 2025 */
     16 // File Name - amit1311202502.c (LAB), APC-PRAC-025.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;
     25 	printf("Enter the n : ");
     26 	scanf("%d", &n);
     27 	for(i = 1; i <= n; i++) {
     28 		for(j = n; j >= i; j--) {
     29 			printf("%d    ", j);
     30 		}
     31 		printf("\n");
     32 	}
     33 	return 0;
     34 }
© 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