什么语言?来个VB的for i=10 to 1000if (i mod 7=0 ) or (i mod 9 =0) then print inext
int sum=0;for(int i=10;i<1001;i++){if((i%7==0) || (i%9==0)){sum+=i;}}