<gouthampradhan>math_AddDigits_1.java
public int addDigits(int num) {
    if (num == 0) return 0;
    return num % 9 == 0 ? 9 : num % 9;
  }
public int sample_funcname ( int var_0 ) {
  if ( var_0 == 0 ) return 0 ;
  return var_0 % 9 == 0 ? 9 : var_0 % 9 ;
}
