Code:
printf("cout<< Enter Name\n"); fflush(stdin); gets(FIRSTPLANE[i].NAME); fflush(stdin); printf("cout<<Enter Address\n"); gets(FIRSTPLANE[i].ADDRESS); fflush(stdin); printf("cout<<Enter Phone Number"); gets(FIRSTPLANE[i].PHONE); FIRSTPLANE[i].SEATNUM=i+1;