I am working on a project( almost finished) but this last part is ridiculously killing me Here is the code I have:

Code:
Ca_Info rpd[data];
	int i=0, choice, transnum,regch,ret=0;
	trans ruc;
	Ca_Info rting;
	FILE *rfp,*verfp;
	char stat[]="available";

	rfp=File_Handler(rent,App_Read);
	verfp=File_Handler(veh,Read_B);
	FindByStat(stat,rpd);
	printf("\t\t\tAvialable
...