@@ -0,0 +1,274 @@
+package ru.job4j;%0A%0A/**%0A*Class Factorial%0A*@autor Elena Domingos%0A*@since 12.20.2016%0A*/%0A%0Apublic class Factorial %7B%0A%09%0A/**%0A*Main.%0A*@param int a, int b.%0A*/%0A%0A%09%0A%09public int factorial(int a, int b) %7B%0A%09%09%0A%09%09 for (int i=1; i%3C=b; i++)%7B%0A              a=a*i;%0A        %7D%0A%09%09return a;%0A%09%7D%0A%09%0A%0A%7D%0A%0A

add factorial java