#include<stdio.h>void main(){ int i,num=0;//for(i=1;i<20; )//if( )num+=i*(i+1);else num-=i*(i+1);printf("%d\n",num);}
按照你的要求填写的C语言程序如下(填空的地方见注释)