int main(){int a,b,c,d,sum;float av;scanf("please input 4 intergal num: %d %d %d %d\n",&a,&b,&c,&d);sum=a+b+c+d;av=sum/4;printf("sum = %d, average = %.1f",sum,av);}