strict or lenient

Repeat Exercise P3.5, but before reading the numbers, ask the user whether * increasing/decreasing should be "strict" or "lenient". In lenient mode, the sequence 3 * 4 4 is increasing and the sequence 4 4 4 is both increasing and decreasing.