Изменил(а) на 'cv1/program.c'

This commit is contained in:
Oleksandr Hryshchenko 2021-10-01 16:52:08 +00:00
parent 101e2a9cba
commit 19a5fce0d8

View File

@ -98,7 +98,7 @@ int main(){
for(int i = 0; i < numberOfOrder; i++){ for(int i = 0; i < numberOfOrder; i++){
if(wordComparison(orders[i].fixedName, ingredient)){ if(wordComparison(orders[i].fixedName, ingredient)){
printf("%s", orders[i].brokenName); printf("%s", orders[i].brokenName);
printf("%0.2\n", atof(orders[i].price)); printf("%0.2f\n", atof(orders[i].price));
} }
} }
printf("Nacitanych %d poloziek.\n", totalAmount); printf("Nacitanych %d poloziek.\n", totalAmount);