while((words = getc(fp)) != EOF) { if (words == \'\\n\') { city_lines++; fscanf(fp, "%s %s",city,city_