编写函数 int main (int x),求整数x的各位数字之和。 在main函数中测试该函数,从键盘中输入一非负整数,然后调用sum函数计算数字之和并输出结果。 ( ) 函数 然后 盘中 发布时间:2024-04-15 14:20:34