# include <stdio.h>
# include <conio.h>
char malinadi[10] [25];
char adedi[10] [10];
char fiyati[30] [20];
int a;
main()
{
for(a=0;a<6;a++)
{ clrscr();
printf("%d.malinadi:",a+1);gets (malinadi[a]);
printf("%d.adedi:",a+1);gets(adedi[a]);
printf("%d.fiyati:",a+1);gets(fiyati[a]);
} clrscr();
printf("sirano malin adi adedi fiyati\n");
printf("------ ------- ---------- ---------\n");
for(a=0;a<6;a++) {
printf (" %d %-15s %-20s %-45s\n", a,malinadi[a],adedi[a],fiyati[a]);
}
getch();
}
setenaymelek
sdc_stny@hotmail.com