The factorial is calculated with the for loop by taking the number requested from the user to calculate the factorial. It is printed to the console.
Kullanıcıdan alınan faktöriyel hesaplanması istenen sayıyı alarak for döngüsü ile faktöriyeli hesaplanır. Konsola yazdırılır.