#include <stdio.h>

struct starship {
    char * name;
	char * type;
	int numphasers;
	int numphotontorps;
	int crewsize;
};

struct fleet {
	char * name;
    struct starship ships[100];
};

struct fleet fleets[10];

int main (int argc, char * args[]) {
    struct starship enterprise = {"Enterprise D", "NCC 1701", 5, 25, 428  };
	fleets[0].name="First fleet";
	fleets[0].ships[0]= enterprise;

	printf("Ship's type is %s",fleets[0].ships[0].type);
	return 0;
}