From f170d0fd4849a686d85fb72ce2445bf418becc1b Mon Sep 17 00:00:00 2001 From: Peter Petrek Date: Fri, 15 Oct 2021 00:07:15 +0200 Subject: [PATCH] tak --- cv2/program.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cv2/program.c b/cv2/program.c index 619b685..d57ad33 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -32,12 +32,9 @@ int main() { yes++; } else{ - if(strcmp( input, "\n" ) == 0){ price = strtof(input, NULL); databaza[counter].price = price; - yes++; - } - + yes++; } if(yes == 2){ counter++;