int sonuc = 1; for (int i = 1; i <=30; i++) { sonuc = sonuc * i; Console.WriteLine("{0} sayısının faktoriyeli {1}",i,sonuc); } Console.ReadKey();