diff --git a/du6/program.c b/du6/program.c index 0c909dd..a995a02 100644 --- a/du6/program.c +++ b/du6/program.c @@ -71,10 +71,10 @@ void print(struct LIS *list,int count,int places){ int i=0; if(places>0){ int k=1; + printf("Prijati studenti:\n"); for(int i=0;k!=places+1;i++){ if(list[i].num==0){ fputs(list[i].fname,stdout); - printf("%d ",k); k++; } }