From 943e6d36883b6d257ad86d3770eee3c4bcdf07b7 Mon Sep 17 00:00:00 2001 From: Jason Peters Date: Thu, 1 Feb 2024 15:35:48 +0100 Subject: [PATCH] =?UTF-8?q?Berechnung=20f=C3=BCr=20die=20Breite=20vom=20We?= =?UTF-8?q?ihnachtsbaumhinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/c/Jason/ASCII_art.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/c/Jason/ASCII_art.c b/src/main/c/Jason/ASCII_art.c index 220db78..2e18cce 100644 --- a/src/main/c/Jason/ASCII_art.c +++ b/src/main/c/Jason/ASCII_art.c @@ -115,5 +115,7 @@ int abfrageDerHoehe(){ int max_breite(int zeilen){ - return 0; + int maximaleBreiteEinerZeile; + maximaleBreiteEinerZeile = zeilen + (zeilen - 3); + return maximaleBreiteEinerZeile; } \ No newline at end of file