$$moles = \frac{mass}{molar \ mass}$$
Substituting the given values into the formula, we get:
$$moles = \frac{4.50 g}{12.01 g/mol} = 0.374 \ mol$$
Therefore, there are 0.374 moles in 4.50 g of carbon.