- 博客(1)
- 收藏
- 关注
原创 日常训练1
1.找出正整数中偶数,并输出相加后的数,要用 long。 例:输入 5548 输出 12 #include <stdio.h> main() { long a; scanf("%ld", &a); int temp = 0; int sum = 0; long t=a; while (t) { temp = t % 10; if (temp % 2 ==...
2020-03-20 17:10:34 133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人