This commit is contained in:
Radovan Kofira 2020-10-04 23:52:07 +02:00
parent 7058b65de8
commit 2a4e8cf8e5
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#define LINESIZE 100 #define LINESIZE 100
#define LINE_SIZE 100 #define LINE_SIZE 100
#define POCET_JEDAL 100 #define POCET_JEDAL 3
struct pizza { struct pizza {
float prize; float prize;
char name[LINESIZE]; char name[LINESIZE];
@ -33,6 +33,10 @@ int main(){
//printf("%s",jedalny_listok[counter].name); //printf("%s",jedalny_listok[counter].name);
//printf("%s",item.name); //printf("%s",item.name);
counter += 1; counter += 1;
if (counter>=POCET_JEDAL)
{
break;
}
} }
} }
//printf("%d\n",counter); //printf("%d\n",counter);

Binary file not shown.