SIMPLE and Easy C++

programming
Tags: #<Tag:0x00007f1825731128>

#1
int Solution::solve(int A) {
if(A%2==1){
    return 0;
}
int cnt=0;
while(A%2==0){
    A=A/2;
    cnt++;
}
return cnt;
}
`indent preformatted text by 4 spaces`