I just moved into a new place. I noticed that the dryer cord is actually a range cord because the outlet is for a range (three slots) instead of a dryer outlet.

My question is, is it okay to use a range cord on the dryer, or should I have the outlet changed to a dryer outlet with the correct slots?