Java ile faktöriyel hesaplayan program yazıyoruz.

Ödev

N elemanlı bir kümenin elemanları ile oluşturulacak r elemanlı farklı grupların sayısı n’in r’li kombinasyonu olarak adlandırılır. N’in r’li kombinasyonu C(n,r) şeklinde gösterilir.

Java ile kombinasyon hesaplayan program yazınız.

Kombinasyon formülü

C(n,r) = n! / (r! * (n-r)!)

Ödev

Submit your work to complete this lesson.

Join the project workspace to share your solution and receive feedback.

Lesson discussion

Swap insights and ask questions about Java101

Be the first to start the discussion

Ask a question or share your thoughts about this lesson.