From cd959eaa7f68fbce1c7a874c82ad8142aefb941a Mon Sep 17 00:00:00 2001 From: jstmax! Date: Sun, 2 Nov 2025 18:56:48 +0100 Subject: betterification --- combinations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'combinations.c') diff --git a/combinations.c b/combinations.c index 680c95c..5237647 100644 --- a/combinations.c +++ b/combinations.c @@ -25,7 +25,7 @@ int main(int argc, char **argv) { printf("%scmb%s>%s iteration count: %ld! = %llu\n", red, white, norm, strlen(str), iter_num); if (strlen(str) >= 6) { - printf("%scmb%s>%s warning, your string is >= 6 characters long.\n", red, white, norm); + printf("%scmb%s>%s warning, your string is %ld characters long.\n", red, white, norm, strlen(str)); printf("%scmb%s>%s the output %s*will*%s be %shuge%s, continue? (y/n)\n? ", red, white, norm, red, norm, red, norm); scanf(" %c", &warn); if (warn == 'n') { -- cgit v1.3.1