#include void show_file(char *fname) { char line[80]; FILE *f; f = fopen(fname, "r"); if (f == NULL) { printf("can't open file %s\n", fname); return; } while (fgets(line, sizeof(line), f) != NULL) fputs(line, stdout); fclose(f); } int main() { show_file("english"); show_file("english"); show_file("greek"); show_file("greek"); return 0; }