Let $M$ , $N$, and $P$ be smooth manifolds with or without boundary.
Every constant map $c: M\rightarrow N$ is smooth.
Proof: Let $c: M \rightarrow N$ be a constant map. Let $p \in M$. Smoothness of $c$ means there are charts $(U,\phi)$ of $p$ and $(V,\psi)$ of $c(p)$ such that $c(U) \subseteq V$ and $\psi \circ c \ \circ \phi^{-1} $ is smooth. Since $c$ is a constant map we know that $c(p)=y$ for every $p \in M$.
This is as far as I got with the proof. I'm a bit lost on how to finish the proof using the fact that c is a constant map to show that $c: M \rightarrow N$ is smooth.
I'd appreciate hints or advice instead of a full solution to the problem that way it doesn't spoil the problem for me.
I'm using Lee's Introduction to Smooth Manifolds.