fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. float a = 12;
  6. float b = 14;
  7. float c = 18;
  8. float srednia = (a + b + c) / 3;
  9. cout << srednia;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
14.6667