summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjstmax! <maxwasmailed@proton.me>2025-11-02 18:56:48 +0100
committerjstmax! <maxwasmailed@proton.me>2025-11-02 18:56:48 +0100
commitcd959eaa7f68fbce1c7a874c82ad8142aefb941a (patch)
treeefde028dcdc14b156932a0d52fc009b6d52c86a0
parent8006fb2fc0896abefabf5bf698480b6439f0303c (diff)
betterification
-rw-r--r--combinations.c2
1 files changed, 1 insertions, 1 deletions
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') {