C-study/01/1/1.c
2021-09-16 21:20:29 +08:00

10 lines
156 B
C

#include<stdio.h>
int main()
{ int x, y, z;
scanf("%d %d %d", &x, &y, &z);
printf("%d\n%.2f", x + y + z, (float)(x + y + z)/3);
return 0;
}