12799-22799之间3865的倍数是

来源:百度知道 编辑:UC知道 时间:2024/06/08 10:55:49

15460 19325

3865*4=154603865*5=19325初学JAVA 编个小程序 搞定

#include <iostream>
const int s = 3865;
using namespace std;
int main ()
{
int n ;
for(int i = 1; n <22799 ; i++)
{
n = s * i;
if (n > 12799 && n < 22799)
cout << "n = " << n <<endl;
}
return 0;
}