bsc

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

commit 6f236059bcadef399ef91afe5e549d326280d62b
parent 9980d4abb843dbb9ef47488adb1c2017ca4d4703
Author: Amit Dutta <amitdutta4255@gmail.com>
Date:   Sat, 25 Oct 2025 13:08:53 +0530

deleting complex method

Diffstat:
Dletusc/lucproblem010-com.c | 24------------------------
1 file changed, 0 insertions(+), 24 deletions(-)

diff --git a/letusc/lucproblem010-com.c b/letusc/lucproblem010-com.c @@ -1,23 +0,0 @@ -/* Write a program to generate all combination of 1, 2 and 3 using for loop. */ -/* Author - Amit Dutta, Date - 24th OCT, 2025 */ -/* Let Us C, Chap - 6, Page - 103, Problem 6.3 */ - -#include<stdio.h> - -int main() { - printf("Combination of 1, 2, 3 upto thousands :"); - for (int i = 0; i <= 3; i++) - { - for (int j = 0; j <= 3; j++) - { - for (int k = 0; k <= 3; k++) - { - for (int l = 0; l <= 3; l++) - { - int num = (i * 1000) + (j * 100) + (k * 10) + l; - printf(" %d", num); - } - } - } - } -}- \ No newline at end of file
© 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