C_MISTAKE, C codes which illustrate some simple but devious programming mistakes in C.
Note that because of the miserable random number interface in C, it's possible to not compute the sum of 100 random numbers in many interesting ways!
The computer code and data files made available on this web page are distributed under the MIT license
C_MISTAKE is available in a C version and a FORTRAN90 version and an HTML version and a MATLAB version and a Python version.