fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. float a,b,c;
  6. scanf("%d%d%d",&a,&b,&c);
  7. printf("%.3f",(a+b+c)/3);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5328KB
stdin
28 12 34
stdout
0.000