So, let and let be given. Define, . Since we know that it is continuous if and only if , but and so . But, and so and so . The conclusion follows.
Oh, I guess I tacitly assumed that . Some authors, like the one of the book I'm reading now, allow in which case but in that case this is obvious.