Just giving an inductive solution since OP asked for one, in addition to the direct counting ones in the comments above:
Induct on $k = \frac{n}{2}$. Note that then $\frac{n^2}{4} = \frac{(2k)^2}{4} = k^2$.
Base case: $k = 1$; the graph can have at most one edge between these two vertices, and $1 \leq 1^2$.
Induction Step: Assume true for $k$, now WTS that a bipartite graph with $2k+2$ vertices has at most $(k+1)^2$ edges. Consider an arbitrary bipartite graph $G = (U,V,E)$ on $2k+2$ vertices. WLOG, let $|U| \leq |V|$.
Case 1: $|U| = 1$. Then every edge has to be between this vertex and one in $V$, giving us at most $2k +1$ choices. Since $k \geq 1$, $2k+1 < 2(k+1) \leq (k+1)^2$ and we are finished.
Case 2: $|U| > 1$. Remove one vertex $u,v$, from each of $U$ and $V$, respectively. Note that this induced subgraph $H$ is still bipartite and has $2k+2-2 = 2k$ vertices; by the induction hypothesis, it has at most $k^2$ edges. Now replace the vertices added. Note that each of the $2k$ vertices in $H$ can have an edge to at most one of either $u$ or $v$ (since our original graph was bipartite). Finally, there can be at most one edge between the new vertices. This gives a total of at most $k^2 + 2k + 1 = (k+1)^2$ edges, and we are done.