摘要: /* 从键盘输入一个十进制整型数据,计算并输出其各位上数字之和(忽略正负号)。 例如,输入1234,输出10;输入-1234,输出10。 */ #include <stdio.h> #include <string.h> #include<math.h> int abs(int n){ if(n>0 阅读全文
posted @ 2019-12-02 12:54 dreamy_java 阅读(1756) 评论(0) 推荐(0) 编辑