#include #include #include struct entry{ char* name; int votes; } struct entry* createEntry(char* name, int votes){ struct entry* newEntry = (struct entry*) calloc(1, sizeof(struct entry)); strcpy(newEntry->name, name); newEntry->votes = votes; return newEntry; } int main(){ struct entry myEntries[100]; char inputs[100][50]; int counter = 0; char symbol; char* number1 = (char*) calloc (25, sizeof(char)); for(int i = 0; fgets(inputs[1], 50, stdin) != NULL; i++){ counter = 0; symbol = inputs[i][counter++]; while(symbol != '\0' && symbol != '\n'){ while(isspace(symbol)) symbol = inputs[i][counter++]; if(isdigit(symbol)) number1 += symbol; else if(isalpha) } } return 0; }