Personally, I think your preoccupation with trying to abbreviate the names is unhealthy. Yes, it is good to choose concise names, and we do use abbreviations, but unusual abbreviations tend to make it harder to read and possibly harder to type (although autocomplete can help... but then it can help with slightly longer but non-abbreviated names too). So, I would suggest:
Code:
struct MonthlyInfo {
int numLand;
int numDepart;
int maxNumLand;
int minNumLand;
};
You should declare yearinfo as a variable local to the main function, and then get rid of those four local variables in main that aren't useful as the information you want would already be stored in yearinfo.
It seems to me that you don't have enough information for this: you're collecting data on a monthly basis, so you cannot know how many planes landed of any given day. You can only compute say, the mean number of planes that landed per day on any given month, but that isn't going to give you "the greatest and least number", unless you're trying to find out which month had the greatest number of planes land per day on average, and which month had the least number of planes land per day on average, in which case you don't need these as member variables of the struct.