MARBLES PROBLEM FROM MATHEMATICS


HEY CAN U TELL ME WHY I AM NOT GETTING FULL MARKS FOR THAT SOLUTION

@Love
Please never use decrement operator in an expression. You may end up having wrong results because of precedence ambiguity, also your ans is not double, so it will round up the result after division every time, thus giving wring answer.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.