To download one of these examples, simply copy and paste from the browser window. According to your choice of syntax, the result may be further processed in various ways...
qrd : quotient and remainder (elaborate) - reads two positive integers qr : quotient and remainder (simple) - reads two positive integers fac : a program computing n! rac : a program computing the (integer) square root square : a program computing the square the sum of the first n integers the sum of the first n integers (another program) pgcd : computation of gcd ppcm : simultaneous computation of gcd and scm exchange : exchanges the values of two variables order : puts two values un ascending order
MIL-English MIL-French MIL-Prolog No concrete syntax - raw XML