Advertisement
Josif_tepe

Untitled

Mar 9th, 2023
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int main()
  5. {
  6.     int a, b, c, d, e;
  7.     cin >> a >> b >> c >> d >> e;
  8.    
  9.     float aritmetickaSredina = (a + b + c + d + e) / 5;
  10.     cout << aritmetickaSredina << endl;
  11.     return 0;
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement