Write a program to tell if a sequence of integer numbers is uniform, strictly increasing, strictly decreasing, increasing, decreasing or none of those.
Input consists of a sequence of integer numbers.
If all the numbers are equal, print “uniform”.
Otherwise, if the sequence is strictly increasing or strictly
decreasing, tell so. If none of the previous conditions are fulfilled,
print “increasing”, “decreasing”, or
“nothing” as required.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T12:21:51.789Z
© Jutge.org, 2006–2026.
https://jutge.org