in maths degrees you will probably do C or C++ or something similar and use a fair few maths/stats programs. its obviously an advantage to have a background in programming but its not necessary. it definitely helps to be good at maths because programming does requires systematic/logical thinking.