"My question is would it better for me to get my bachelors in electrical and computer engineering and then get a masters in mechanical engineering?"

I doubt it, I've never seen an employer...