I was doing a challenge Delhi’s odd even in which I have to print yes if either the sum of even digits of a number is divisible by 4 or the sum of odd digits is divisible by 3.
I have write the code as:-https://ide.codingblocks.com/s/395997
I want to know the optimised solution of a progrram
Hello @sarthak_singhal i have corrected your code and now it is passing every test case:
https://ide.codingblocks.com/s/396050
if you have any doubt you can ask here:
Happy Learning!!
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.