And as you get better at programming your math skills will improve.
I wasn’t a great math person either but I love programming, a lot of my math skills were developed trying to solve problems. Base conversion binary, etc. are key parts of programming as you get more involved in programming you learn these skills come in handy to create better programs,m adn as you create better programs you see new ways math could help improve what you create and now have the idea on how to apply it so learning it makes a whole lot more sense.
I feel for some learning to program will encourage them also become better at learning math.