题目内容

/*功能:输出100到1000之间的各位数字之和能被15整除的所有数,输出时每10个一行。*/#includeint main(){intm,n,k,i=0;for(m=100;m<=1000;m++){/***********SPACE***********/【1】;n=m;do{/***********SPACE***********/k=k+【2】;n=n/10;}/***********SPACE***********/【3】;if(k%15==0){printf("%5d",m);i++;/***********SPACE***********/if(i%10==0)【4】;}}return 0;}

查看答案
更多问题

/*功能:计算并输出500以内最大的10个能被13或17整除的自然数之和。*/#include#include/***********SPACE***********/intfun(【1】){intm=0,mc=0;/***********SPACE***********/while(k>=2&&【2】){/***********SPACE***********/if(k%13==0||【3】){m=m+k;mc++;}k--;}/***********SPACE***********/【4】;}int main(){printf("%d\n",fun(500));return 0;}

The fatter I get, the unhappier I am, so I eat to cheer myself up, which makes me fatter yet — it's ______(vicious).

For Western businesses, doing business in China requires a thorough understanding of ______ between China and the West (cultural).

We see it frequently in life that two people get together, are happy, and then grow apart. What is the secret to having a happy, ______? (lasting)

答案查题题库