#include<stdio.h>
main()
{
int fiyat[10];
int i;
int istenendeger=0;
char ad[10][20];
for(i=0;i<10;i++)
{
printf("\n ");
printf("LUTFEN %d. MALIN ADINI GiRiNiZ : ",i+1);
scanf("%s",ad[i]);
printf("\n ");
printf("LUTFEN %d. MALIN FiYATINI GiRiNiZ : ",i+1);
scanf("%d",&fiyat[i]);
printf("\n ");
}
printf("iSTEDiGiZ DEGERi GiRiNiZ : ");
scanf("%d",&istenendeger);
printf("\n ");
for(i=0;i<10;i++)
{
if(istenendeger>=fiyat[i])
{
printf("%s\tfiyat: %d\n",ad[i],fiyat[i]);
printf("\n ");
}
}
return 0;
}