It's nice that folks are being supportive, people in my school were not supportive. One of the things I did that helped me in high school was an IEP that allowed me to stay home on Wednesdays. It gave me a break to rest up, the teachers have me my work on Tuesday and I turned it in Thursday and made up any tests or quizzes when I could. It also helped ensure the school couldn't penalize me for absences. IEP stands for Individual Education Plan and is set up through the guidance counselor and it also ensures if you ever have a jerk teacher they HAVE to allow you as much time as you need for make up work. I also had snacks available in the office I could go eat and a standing arrangement to go nap in the nurses office during free periods if I needed to. In middle school I had a free period scheduled right after my lunch that was actually an extended lunch so I could eat a second lunch or just spend time in the bathroom if I was having a rough day. I'm happy to hear your school is supportive but never assume they will be, plan and don't be afraid to ask for what you need.
As far as the average age, I hate to say what everyone always says but it's true- no one knows how long they have. In school when I was younger I bounced back and forth between feeling like there was no point to an education when I'd never have a career and then feverishly wanting everything I thought I might not have time for. What I came to realize is that once my body wasn't using calories to grow, my CF stuff leveled out for many years and I worked in libraries for ten years before I ended up having some health stuff (Celiac disease) that's put me at home for a bit. In the meantime I am finishing my bachelors and have 2 sons and I'm on my second husband. (second and last) Life happens and sometimes CF will get in the way, just know you aren't just a survivor, you're a person with a future and the power to make things happen.