Whitby is a pretty, but sleepy little place compared with Scarborough.
Much easier to find somewhere to park in Scarborough too.
I like Bridlington. Lovely big beaches and quite compact for walking around. Worth a visit.
I'd often go to all three in the same day, with my work.