#include struct oz { char actor[30]; char character[30]; int age; }; void print_oz(struct oz info); void main() { struct oz actor[4] = { "Judy Garland", "Dorothy", 17, "Ray Bolger", "Scarecrow", 35, "Bert Lahr", "Cowardly Lion", 44, "Jack Haley", "Tin Woodsman", 40 }; int x; puts("Wizard of Oz Database!"); for(x=0;x<4;x++) print_oz(actor[x]); } void print_oz(struct oz info) { printf("%s played %s",info.actor,info.character); printf(", and was %i-years-old\n",info.age); }