prog.cpp:4:11: error: ‘oceny’ was not declared in this scope
float min=oceny[0];
^~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:10:8: error: ‘oceny’ was not declared in this scope
cin>>oceny[i];
^~~~~
prog.cpp:11:3: error: ‘suma’ was not declared in this scope
suma+=oceny[i];
^~~~
prog.cpp:12:6: error: expected ‘(’ before ‘min’
if min>oceny[i]
^~~
prog.cpp:17:2: error: ‘srednia’ was not declared in this scope
srednia=suma/5;
^~~~~~~
prog.cpp:17:10: error: ‘suma’ was not declared in this scope
srednia=suma/5;
^~~~