Please help me with this question. I am also thinking about it. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please help me with this question. I am also thinking about it.

Write a program that calculates the number of possible arrangements for any number of guests and any number of chairs. (Assume there will never be fewer guests than chairs.) Don’t let this get too complicated. A simple for loop should do it.

28th Jul 2017, 3:19 PM
Phyoe Min Thant
Phyoe Min Thant - avatar
2 Answers
+ 1
it's possible using the loop of while and else
30th Jul 2017, 8:25 PM
Mulochi Ronny Luther
Mulochi Ronny Luther - avatar
+ 1
Thank you sir.
31st Jul 2017, 4:10 AM
Phyoe Min Thant
Phyoe Min Thant - avatar