math is important in programming, because as an example in C++ if you want to create 2 strings and if you want to play with the programming language as an example to make an if statement (if the last number from the first string is equal to the second number from the second string) and then to print something if that statement is true you need to know math