Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Исходники Форум Информер Страны мира
   Математика    >>    factrl2
   
 
 Two Ways to Calculate a Factorial  Mike Benedict 07.09.1991

This program examines two ways to calculate factorial. One is through a FOR DO loop, the other is through Recursion.



1k 
 

This program is taken from: Leestma, Sanford and Larry Nyhoff Pascal: Programming and Problem Solving MacMillan, 1984 pp. 162 and 192 Its purpose is to examine two ways to calculate factorial. One is through a FOR DO loop, the other is through Recursion. Author: Mike Benedict Date Started: 5/27/91 Latest Revision: 5/27/91 Version: Turbo Pascal 6.0