my code is not working : https://ide.codingblocks.com/s/42147
Delhi odd even;
you are supposed to print output in next line.
you misunderstood the problem.Problem is saying
sum1= sum of digits which are even
sum2=sum of digits which are odd
if((sum1%4==0) or(sum2%3==0))
print Yes
else
print No
example
12345
sum1=2+4
sum2=1+3+5
as sum2%3==0 so answer is yes
Example 2 : 12134
sum1= 2+4
sum2=1+1+3
as sum1 %4!=0 and sum2%3!=0
so answer is No
Hope u get it.
Read the problem again.
Hit like if u get it
where as in your code u r doing sum of all digits and taking mod with 12 bt problem statement is different