To write software for robots, programmers must know the relevant programming languages such as C++, Python, or Java.