struct worker{ int ID; int age; char name[20]; }; int main() { struct worker wkr[10] for (int i=0;i<10;i++){ printf("please give the ID of %d . worker", i+1); scanf("%d",wkr[i].ID); printf("please give the age of %d . worker",i+1); scanf("%d",wkr[i].age); printf("please give the name of %d . worker",i+1); scanf("%s",wkr[i].name); return 0; }