main

prev        

Statement of a problem № m101316



The pseudocode in Fig. P2.25 computes the factorial. Express this algorithm as a well-structured function in the language of your choice. Test it by computing 0! and 5!. In addition, test the error trap by trying to evaluate 22!.




New search. (Also 1294 free access solutions)

Online calculators