导读 #include#includeint main(){int i;int Thefirstnumber;int Thesecondnumber;int sum=0;printf("请输入任意两个整数(负数也可有):")...
#include#includeint main(){int i;int Thefirstnumber;int Thesecondnumber;int sum=0;printf("请输入任意两个整数(负数也可有):");scanf("%d %d",&Thefirstnumber,&Thesecondnumber); if(Thefirstnumber>Thesecondnumber) { int tmp=Thesecondnumber; Thesecondnumber=Thefirstnumber; Thefirstnumber=tmp; }for(i=Thefirstnumber+1;i