求1+2!+3!+…+20!的和。#include "stdio.h"void main(){ float n,s=0,t=1; for( ① ) { ② ③ } printf("1+2!+3!...+20!=%e ",s); getch();}
微信扫码关注 无忧题库 公众号