当前位置: > write a program to read a four digit integer and print the sum of its digits....
题目
write a program to read a four digit integer and print the sum of its digits.
Hint :Use / and % operators.

提问时间:2020-10-25

答案
#include<stdio.h>int main(){x05int a,b,c,d,num;x05printf("please input a num between 1000~9999! ");x05scanf("%d",&num);x05a=num/1000...
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
版权所有 CopyRight © 2012-2019 超级试练试题库 All Rights Reserved.