From c2cc886386fcc887b9a41eac093d035b7bbd3ff6 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Mon, 5 Oct 2020 14:33:14 +0200 Subject: [PATCH] program --- cv2/program.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cv2/program.c b/cv2/program.c index e1cb04b..58b54e4 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -19,9 +19,6 @@ int read_pizza(struct pizza* item){ char *l1 = fgets(line1,LINESIZE,stdin); char *l2 = fgets(line2,LINESIZE,stdin); - //line1[strlen(line1)-1] = '\0'; - //line2[strlen(line2)-1] = '\0'; - float value = strtof(line2, &l2); if(value == 0.0F){ return 0;