CS/Math at Dartmouth?

Looking to major in CS and/or math.
Visited Dartmouth and really liked the overall atmosphere, but am unsure of its strength in my desired major.

How are Dartmouth’s CS and Math departments? Would they help me get on track to pursue a masters in CS?

It is a very good school overall. Of course you will be able to do MS in CS anywhere after it and you have great career options right after as well