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