#includevoid main(){ int i=1,j,sum=0; do { if(i%2==0) j=-i; else j=i; sum=sum+j; i++;}while(i<=100);}