include iostream using namespace std int main size_t int cout Enter ar

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <iostream>
using namespace std;
int main() {
size_t N;
int a[N], i;
cout << "Enter array:";
for (int j = 0; j < N; ++j) {
cin >> a[j];
}
for (i = 1; i < N; ++i) {
if (a[i - 1] < a[i]) {
break;
}
}
if (i == 5) {
cout << "array of numbers strictly decreases";
}
return 0;
}