pemutaion

can you give me a C++ program for calculating (n!/(p!q!r!)) where n,p,q,r are in the range of
100000…
thanks in advance…

No. You should not ask for spoon feeding. Try to write code on your own, and if you get stuck ask for help.

@All: It is your responsibility to not hamper growth of beginners by giving them complete running codes.

1 Like

thinking for simple cases wud be cases max(p,q,r)*…*n/(second large(p,q,r)!third large of (p,q,r)!) or nCP with dp * max(q,r)n-p /smallest (q,r)!

//