Show that $c|a$ and $c|b$ iff $c|gcd(a,b)$
I am only going to show that the if part is true and i have the solution to this proof just i found the if part of the proof dissatisfying.
since c|a, c|b and $c \le gcd(a,b)$ it follows that there exists an integer $f$ such that $gcd(a,b) = cf$ and hence $c|gcd(a,b)$
If this is not true, could I have some help. please.