struct hotel
{
char name[20],address[20];
int grade,n;
float charge;
}h[20];
void main()
{
int i;
printf("enter the no. of hetels");
scanf("%d",&n);
for(i=0;i<n;i++)
{
printf("enter the requirements");
scanf("%s%s",h[i].name,h[i].address);
scanf("%d%d",&h[i].grade,&h[i].n);
scanf("%f",h[i].charge);
}
printf("enter the grade");
scanf("%d",g);
find(g,hotel);
getch();
}
void find(int g,struct hotel




