+ 11

[ASSIGNMENT] 🏆Challenge🏆=>Permutation calculator

Create a permutation calculator i hope you know about permutation! For those who don't know about permutation : To calculate permutation we need two numbers say 'n' and 'r' and so create a code that calculate permutation of two number formula to calculate permutation is : n!/(n-r)! where n and r are entered by user FORMULA: n!/(n-r)! NOTE: In permutation value of n should be greater than r EXAMPLE: input: n:5 r:4 output: 5Pr: 120 Hope I am able to be clear thank you 🎉 HAPPY CODING!🎉

1st Jan 2018, 3:51 PM
Aditya
Aditya - avatar
8 Answers
+ 4
Hear is my submission for example https://code.sololearn.com/cWf0gZIk1J20/?ref=app
1st Jan 2018, 3:53 PM
Aditya
Aditya - avatar
+ 17
//my try in java //see this , i am happy 😂 https://code.sololearn.com/cWuY8IrGWnDh/?ref=app
2nd Jan 2018, 6:56 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 7
https://code.sololearn.com/c3J3lTf5idOm/?ref=app
2nd Jan 2018, 5:31 AM
Louis
Louis - avatar
2nd Jan 2018, 6:51 PM
777
777 - avatar
+ 5
https://code.sololearn.com/cTpFkc3IKQir/?ref=app
1st Jan 2018, 5:33 PM
Abhishek Tandon
Abhishek Tandon - avatar
1st Jan 2018, 4:44 PM
Harjeet Singh
Harjeet Singh - avatar
+ 4
https://code.sololearn.com/c9JZYmHMDFx2/?ref=app
2nd Jan 2018, 4:35 PM
MsShugg😘
MsShugg😘 - avatar
3rd Jan 2018, 3:10 PM
István Ócsai
István Ócsai - avatar