c

别卷了留口饭吃 发表于 1年前 · 关联问题 The missing integer

include <stdio.h>

int main(){ int sum1=0; int sum2=55; int i,x; for(i=1;i<=9;i++){

scanf("%d",&x); sum1=sum1+x;

} printf("The missing integer is:%d",sum2-sum1);

return 0;

}