This is what I've done so far:
Using the formula, we get
$x = \frac{-c \pm \sqrt{c^2 - 24}}{2}$
For solutions to exist, $c \geq 5$. For solutions to be rational, $c^2 - 24$ has to be a perfect square.
I'm kind of stuck now. I'd appreciate if someone can give me a hint or two on how to solve this question. Thanks!
If the solutions of $x^2+cx+6$ are rational, then $$ x^2+cx+6=(x-a)(x-b)=x^2-(a+b)x+ab $$ for rational $a,b$. Then we have $ab=6$, and $c$ is given by $c=-a-b$. We can choose any rational number $a\neq 0$, then $b=6/a$ and $c=-\frac{a^2+6}{a}$.