题目内容
读下列程序,写出程序的运行结果。#includeint main(){int j , k , p, s;s=0;for (j=1; j<=3; j++){p=1;for(k=1; k<=j; k++)p=p*k;s=s+p;}printf("s=%d\n",s);return 0;}输出:
查看答案
搜索结果不匹配?点我反馈