package du1;
import java.util.Scanner;
public class Du1 {
/**
* Zde je metoda resici problem faktorialu
* Doplnte spravne obsah metody.
*/
public static int faktorial(int pom) {
System.out.println("Zadejte číslo: ");
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
pom = 1;
while (n > 1) {
pom = pom * n;
n = n - 1;
}
return pom;
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
}
}