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++;