Clearly you have a multipart homework assignment, and you have chosen to put each part is a separate topic. But really - separating this "average tenure" request from the "average salary" request? Yes, one of them (tenure) appears to require some preliminary calculation before getting the average. But, just as in your "maximum attrition" question you chose not to provide enough information to make the question clear.
You want help (more than help actually). You don't specify what you tried. You don't inform us what you don't understand. This is not enouraging to folks who want to help other learn sas. It seems more like a subcontracting job at very low rates.
So tell us, restricting discussion to just this topic, let's just focus on the very first sub-problem:
What have you tried for calculating tenure? Show us your program and the log it generated - essential for good diagnosis.
... View more