math problem
Another trick for Pascal programmers who want to know C, is to use one of these
public domain "Pascal to C" translators. They often work well on generic
Pascal. You can write in Pascal, then let the program translate it to see at
least one possible implementation in C.