@@ -0,0 +1,280 @@
+package loop;%0A/**%0A*   .%0A* @author dlukyanchuk%0A* @since 19.03.2017%0A* @version 1%0A*/%0Apublic class Factorial %7B%0A/**%0A*     .%0A* @param n -     %0A* @return factor -    %0A*/%0A%09public int mult(int n) %7B%0A%09%09int factor = 1;%0A%09%09for (int i = 1; i %3C= n; i++) %7B%0A%09%09%09factor *= i;%0A%09%09%7D%0A%09return factor;%0A%09%7D%0A%7D

Add Factorial