SHARE
TWEET

Untitled

a guest Sep 13th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int ocj, zbr;
  6. double pros;
  7.  
  8. int main() {
  9.     for( int i = 1; i <= 11; ++i ) {
  10.         cin >> ocj;
  11.         zbr = zbr+ocj;
  12.     }
  13.  
  14.     pros = ( double )zbr/11;
  15.  
  16.     cout << pros << endl;
  17.     return 0;
  18. }
RAW Paste Data
Top