From 9a6b8607dd5056c90e56e7cffac5ba3823b9dfeb Mon Sep 17 00:00:00 2001 From: Fdai7396 <batuhan.agkaya@informatik.hs-fulda.de> Date: Tue, 7 Feb 2023 18:41:54 +0100 Subject: [PATCH] refactoring: dreieckFlaeche --- src/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.c b/src/main.c index 2eb00cf..ea6fb21 100644 --- a/src/main.c +++ b/src/main.c @@ -253,6 +253,4 @@ int main() b = getValue('b'); c = getValue('c'); dreieckFlaeche(a,b,c); - double s = (a + b + c) / 2; - printf("Die Flaeche des Dreiecks betraegt: %f\n", sqrt(s * (s - a) * (s - b) * (s - c))); }