CodingBat count7 Solution April 05, 2017 Get link Facebook X Pinterest Email Other Apps public int count7(int n) {if(n==0) return 0; if (n%10==7) return 1+count7(n/10); else return count7(n/10);} Comments
Comments
Post a Comment