[go: up one dir, main page]

Menu

[r370]: / XFACT.MPL  Maximize  Restore  History

Download this file

10 lines (4 with data), 130 Bytes

// FACTORIAL USING RECURSION

##LIBHDR

F(I) I ? I*F(I-1) : 1

.(;I) [ I=0; ++I<=8 @ WRITEF("F(%I1) = %U5*N",I,F(I)) ]