|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
#include «stdafx.h»#include using namespace std;void main (){int N;cout<<«Input razmernost»;cin>>N;int *a= new int [N];for (int i=0; i<N; i++){ cout<<«input number „<<i<<“ element of array»;cin>>a[i];}int m=a[0];{if (a[i]>m)m=a[i];}cout<<endl<<«min positive element of array = „<<m;} int... [Читать далее...]
|
|
|
|
|
|
|
|
|
|
|