出现这个是什么意思?——id returned 1 exit status
#include <stdio.h>void sum( int begin, int end)
{
int i;
int sum=0;
for( i=begin; i<=end; i++){
sum+=i;
}
printf("%d到%d的和是%d\n", begin, end, sum);
}
int main()
{
sum(1,10);
sum(20,30);
sum(35,45);
return 0;
}