Let $X$ be an infinite-dimensional Separable Banach Space. Prove that $\dim X=\mathfrak{c}$.
On the direction of $\dim X\ge \mathfrak{c}$, I thought taking the subset of all elements $x\in X$ which can be represented as an convergent expansion $$X\ni x = \sum_{n=1}^\infty c_ne_n$$ where $$e_n^i=\cases{0\quad i\neq n \\1\quad i=n,}$$ which will be mapped to $\ell^\infty$, a space of cardinality $\mathfrak c$ by the isomorphism $x\mapsto(c_1,c_2,\dots)$.
About the other direction I don't have any clue. We know that a Banach space with a basis must be separable but how can we use that fact to find out that $\dim X\le\mathfrak{c}$?