This commit is contained in:
Peter Petrek 2021-10-15 00:07:15 +02:00
parent e15938c020
commit f170d0fd48

View File

@ -32,13 +32,10 @@ int main() {
yes++;
}
else{
if(strcmp( input, "\n" ) == 0){
price = strtof(input, NULL);
databaza[counter].price = price;
yes++;
}
}
if(yes == 2){
counter++;
yes = 0;