#include <stdio.h>
#include <stdlib.h>

struct the_struct
{
 char FirstName[20];
 char LastName[32];
 char  Score[20];
};
int main () {
    int i=0,n;
    printf("how many students?\n");
    scanf("%d",&n);
    printf("Reading %d items\n", n);
    struct the_struct *ptr[100];

    while (i < n) {
        ptr[i] = malloc(sizeof(struct the_struct));
        printf("Enter First Name \n");
        scanf("%s",ptr[i]->FirstName);
        printf("Enter Last Name \n");
        scanf("%s",ptr[i]->LastName);
        printf("Enter Score? \n");
        scanf("%s",ptr[i]->Score);
        printf("%s %s %s\n",ptr[i]->FirstName,ptr[i]->LastName,ptr[i]->Score);
        i++;
    }
}
