what is wrong in my code
Https://ide.codingblocks.com/s/226728
you have interpret question wrongly
question says that there are two condition for allowing the car on sunday
- sum of digits which are even (digit should be even) is divisible by 4
- sum of digits which are odd (digit should be odd) is divisible by 3
ex
12345
odd digits 1,3,5, sum of odd digits=9
divisible by 3?
yes hence this car is allowed to run on sunday
I hope you understand
if your doubt is resolved
Please mark it as resolved
if you have any doubt regarding this feel free to ask
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.