摘要: 写一个方法,使其计算一个整数中的各个数字的和(整数12345各个数字1,2,3,4,5的和为15)。使用以下的方法头部:public static int sumDigits(long n) https://blog.csdn.net/weixin_43759910/article/details/ 阅读全文
posted @ 2019-04-16 22:17 皇棠 阅读(149) 评论(0) 推荐(0)