#include struct position { int x; int y; int z; }; struct box { int itemnum; char color[25]; struct position p; int height; int width; int depth; }; int main() { struct box boxes[100]; struct box b1 = {3, "red", {1, 2, 3}, 3, 2, 5}; boxes[0] = b1; boxes[1] = (struct box) {2, "green", {2,3,4}, 3, 4, 5}; for (int i = 0; i < 2; i++) { printf("Item Num: %d\nColor: %s\nPosition: (%d,%d,%d)\nHeight: %d\nWidth: %d\nDepth: %d\n", boxes[i].itemnum, boxes[i].color, boxes[i].p.x, boxes[i].p.y, boxes[i].p.z, boxes[i].height, boxes[i].width, boxes[i].depth); } return 0; }