summaryrefslogtreecommitdiff
path: root/rushs/tinyprintf/pine/pine.c
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2025-10-11 22:19:00 +0200
committerMartial Simon <msimon_fr@hotmail.com>2025-10-11 22:19:00 +0200
commit73c2b00a10c5786ddeeacc915e233fd4df1c9321 (patch)
treee299ea4e8ac161b2b21170172ff8f182c1c3fe1a /rushs/tinyprintf/pine/pine.c
parentc9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c (diff)
fix: evalexpr & tinyprintf contenaient toute la piscine
Diffstat (limited to 'rushs/tinyprintf/pine/pine.c')
-rw-r--r--rushs/tinyprintf/pine/pine.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/rushs/tinyprintf/pine/pine.c b/rushs/tinyprintf/pine/pine.c
deleted file mode 100644
index 9d48761..0000000
--- a/rushs/tinyprintf/pine/pine.c
+++ /dev/null
@@ -1,36 +0,0 @@
-#include <stdio.h>
-
-int pine(unsigned n)
-{
- if (n < 3)
- {
- return 1;
- }
-
- for (unsigned i = 0; i < n; i++)
- {
- for (unsigned j = 0; j < n - i - 1; j++)
- {
- putchar(' ');
- }
-
- for (unsigned j = 0; j < 2 * i + 1; j++)
- {
- putchar('*');
- }
-
- putchar('\n');
- }
-
- for (unsigned i = 0; i < n / 2; i++)
- {
- for (unsigned j = 0; j < n - 1; j++)
- {
- putchar(' ');
- }
- putchar('*');
- putchar('\n');
- }
-
- return 0;
-}