This commit is contained in:
Peter Petrek 2021-10-15 00:06:09 +02:00
parent dcad10bfb5
commit e15938c020
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

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