From b6d2ba41708efb7bcb8f7d815c05a1756e2e6399 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 17 Feb 2022 21:10:32 +0000 Subject: [PATCH] removed debugging code Signed-off-by: Michael --- train/c/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/train/c/main.c b/train/c/main.c index 5a71fdc..a10ac95 100644 --- a/train/c/main.c +++ b/train/c/main.c @@ -18,7 +18,6 @@ int main() { char input[5]; printf("\nHow long does a trip take by car "); fgets(input, 5, stdin); - printf(input); double answer = atof(input); int car_time = distance * train / (car - train); int percent = abs(((car_time)-answer)*100/answer)+.5; @@ -38,4 +37,4 @@ int main() { continue; } } -} \ No newline at end of file +}