14 lines
296 B
C
14 lines
296 B
C
#include "pizza3.h"
|
|
#include <stdio.h>
|
|
|
|
int main(){
|
|
|
|
struct pizza list[LIST_SIZE];
|
|
int size = read_pizza_list(stdin,list,LIST_SIZE);
|
|
int res = search_pizza_list(list,size,"bryndza");
|
|
printf("Bryndzu obsahuje pizza %s za %f EUR",list[res].name,list[res].prize);
|
|
|
|
return 0;
|
|
}
|
|
|