Here's a defined enumeration:
enum shipCost {FIGHTER_COST = 25, BOMBER_COST, CRUISER_COST = 50};
Then they do this which I don't understand:
shipCost myShipCost = BOMBER_COST;
My question is why don't you just do the following instead?
int myShipCost = BOMBER_COST;