Repeat Exercise P3.7, but before reading the numbers, ask the user whether
Chapter 3, Problem P3.8(choose chapter or problem)
Repeat Exercise P3.7, but before reading the numbers, ask the user whether increasing/decreasingshould be strict or lenient. In lenient mode, the sequence 3 4 4 isincreasing and the sequence 4 4 4 is both increasing and decreasing.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer