Untitled

Anonymous
c_cpp
12/10/2023 8:08 AM
248 B
15
Indexable
#include <iostream> 
using namespace std; int main() { int i, m[9999] = {};int suma = 0;cin >> i;for (int u = 0; u < i; u++){ cin >> m[u];suma += m[u]; }cout << float(suma) / float(i);}
Editor is loading...
Leave a Comment