OK, a lot of ignorant and useless posts have been removed.
While it may seem "obvious" or "best" for this girl to have an abortion to you, if she doesn't want to, NOBODY can force her. She may well be a perfectly good mother, especially if she's decided already what she wants to do, rather than not telling anyone she's pregnant until it's too late to abort or whatever.
She'd need to contact the school to talk about arrangements that could be made. Having a baby halfway through a year WILL severely disrupt her studies, so she needs to decide what the best way to deal with this is. She will need support from her friends, family (are they helping her?) as well as the state in the form of medical care and social support. Make sure she has access to all this and is doing the best she can.