Error in this code

pls check the error in this code

when i checked it on my compiler the answer is coming out to be 36, however when the answer in the video was 12

Hey @vector.9974
Your is possible function is incorrect
here refer to this :

i am not able to understand your code. pls explain it… also pls also tell what is the problem with my boolean function possible as you pointed out

Hey @vector.9974
Written comments so that u can understand the code better : https://ide.codingblocks.com/s/362277

Hey @vector.9974
If u don’t have any other doubt in this then please mark it as resolved :slight_smile: