王老师:19139051760(拨打)复制微信 题目 更新时间:2023/4/3 读下列程序,写出程序的运行结果。 #include int main() { int n=0,fact=1,sum=0; do { n++; fact=fact*n; sum+=fact; } while (n<4); printf("%d\n",sum); return 0; } 输出: 答案 登录 注册 33 出自:联大 >> 华北水利水电大学C 语言程序设计 华北水利水电大学继续教育学院