package aahmetshin.factorial;

/**
* Class для подсчета factorial.
* @author aahmetshin
* @since 04.12.2016
* @version 1
*/
public class Factorial {
	/**
	* variable result.
	*/
	private int result = 1;
	/**
     *Factorial.
	 *@param argument for for factorial
	 *@return result
     */
	public int fact(int argument) {
	for (int i = 2; i <= argument; i++) {
	result *= i;
	}
	return result;
	}
}
@@ -151,62 +151,8 @@
 /**%0A
-%09* variable result.%0A%09*/%0A%09private int result = 1;%0A%09/**%0A
     
@@ -260,16 +260,33 @@
 ment) %7B%0A
+%09int result = 1;%0A
 %09for (in

add factorial