问答题

方法intmaxDigit(intn)的功能是找出十进制整数n各位中最大的一位数字。例如,n=23765,该方法的返回值是7。

答案:

n%10;returnc

题目列表

你可能感兴趣的试题

微信扫码免费搜题