Please help me to understand the use of csum there and also explain the function sum being written in the code.
Please help me to understand the use of csum there and also explain the function sum being written in the code
use of csum
resultant mixture of (a and b )and(c and d)= ( (a+b)%100 + (c+d)%100) )%100
so we can also write it as (a+b+c+d)%100
for that we make csum
sum function is doing the same thing
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.