fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. float a, b, c;
  6. cin >> a >> b >> c;
  7. float TBC = (a + b + c) / 3;
  8. cout << "TRUNG BINH CONG = " << TBC << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5292KB
stdin
4 5 9
stdout
TRUNG BINH CONG = 6