The answer depends upon what is meant by “low IQ” and the degree of success that is sought. Most people of average or higher IQ can learn to program simple languages like BASIC and html. However, mastering a language like C++ requires the same kind of thinking involved in studying mathematics at the undergraduate level.
IQ is a measure of a composite set of skills, including mathematics and language components, so it may not be as strongly correlated with success in computer science as it is with success in mathematics. If you are good at mathematics at the undergraduate level and you enjoy solving math problems, then there is an excellent chance that you will do well in computer science.
However, if you don’t enjoy tackling challenging math problems, you will likely find computer science a drudgery. Success in computer science, as in mathematics, requires not only good mental processing skills, but an almost unlimited tolerance for failure. Successful solutions to problems in both fields come at the end of a long list of complete or partial failures. If you enjoy this challenge and you are reasonably successful at mathematics, then go for it!