/* * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025 * Repo: https://github.com/notamitgamer/bsc * License: MIT */ /* Make this pattern for input n. Pattern : 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 */ #include int main() { int i, j, n; printf("Enter n : "); scanf("%d", &n); for (i = 1; i <= n; i++) { for (j = 1; j <= i; j++) { printf("%d\t", j); } printf("\n"); } return 0; }