Răspuns:
#include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a == b && b == c && c == d){
cout << "Nemonoton";
} else if (a >= b && b >= c && c >= d) {
cout << "Descrescator";
} else if (d >= c && c >= b && b >= a) {
cout << "Crescator";
} else {
cout << "Nemonoton";
}
return 0;
}
Explicație: