Update cv2/program.c

This commit is contained in:
Yurii Yakovenko 2024-10-07 20:02:33 +00:00
parent f2cc37e31a
commit 365dddab3c

View File

@ -1,7 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdbool.h> #include <stdbool.h>
/// @ /// @. @
#define LINE_SIZE 100 #define LINE_SIZE 100
#define LIST_SIZE 200 #define LIST_SIZE 200
@ -83,7 +83,7 @@ int main()
sort_pizza_list(&list,n); sort_pizza_list(&list,n);
for(int k=0; k<n; k++) for(int k=0; k<n; k++)
printf("%s%.6f\n",list[k].name, list[k].prize); printf("%s%.2f\n",list[k].name, list[k].prize);
return 0; return 0;
} }