> 数学 >
一个4位数,各个位的数字相加能被4整除,这样的数有多少个?
答案是2249,谁知道怎么算?
人气:426 ℃ 时间:2019-10-23 08:28:41
解答
一共有2249个,写一个小程序就能解决.程序如下:
#include
#include
void main()
{ fstream fsOutFile("klm1.txt",ios::out);
int i=0;
int count=0;int a,b,c,d;
for(i=1000;i能不能不编程序,这是一道笔试题
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版