
Patrick B. answered 05/24/21
Math and computer tutor/teacher
void countryWisePhone( SmartPhoneType mobileList[], int size, char *country)
{
int iLoop;
for (iLoop=0; iLoop<size; iLoop++)
{
if (strcmp(mobileList[iLoop].userCountry,country)==0)
{
SmartPhone_Output(&mobileList[iLoop]);
printf("\n");
}
}
}