Any decent undergraduate program will have a defined sequence of courses for most of the first three years. The third year may, and the fourth year will, be all or mostly electives that you choose. The idea is that you will be better prepared to decide what to specialize in once you know the basics. The main point of going to university is to learn how to learn because that is what you will do throughout your career. Choose the best university you can afford and get into. Worry about choosing courses later. If you like programming, major in computer science but also take every math course you can, not just the required ones. You can usually use a math course or two to satisfy CS degree requirements.