#include #define max 10 using namespace std; main() { int n, niz[max], s=0; float as; cout << "n="; cin >> n; for (int i=0; i