I’m out of state for both. Does UMD or UW-Madison have the better CS program?
Both great. I would choose based on which environment will make you the most excited for next fall.
Yes, both are places you can do great. Congratulations! If you prefer one environment to the other, go that way. Better integrated students usually will do better.
And, are you direct admits into both programs (I don’t know how that works for CS at either school, one I know extremely well and the other we researched well and visited for a couple of days)? If not, that would be a consideration–if you were at one and not the other, or if they had different levels of difficulty to declare a CS major.
Good luck!