#include #include #include #define N 128 #define M 3 void get_data_from_user() { FILE *fp; char epitheto[N]; char onoma[N]; float grade; int i; fp = fopen("eisagwgi.txt", "w"); if (fp == NULL) { fprintf(stderr, "Error opening file for input.\n"); exit(1); } printf("Dwse to epitheto: "); scanf("%s", epitheto); while (strcmp(epitheto, "*")) { fprintf(fp, "%s", epitheto); printf("Dwse onoma: "); scanf("%s", onoma); fprintf(fp, "%s ", onoma); for (i=0; i