To find the cost of a dozen ears of corn, we first need to determine the price of one ear of corn from the given rate.
The rate for corn is 5 ears for $1.30, so the cost per ear can be calculated as follows:
\[ \text{Cost per ear} = \frac{1.30}{5} = 0.26 \text{ dollars per ear} \]
Now, to find the cost of a dozen ears (12 ears):
\[ \text{Cost for 12 ears} = 12 \times 0.26 = 3.12 \text{ dollars} \]
Thus, the cost for a dozen ears of corn is $3.12.