[SOLVED] SOLVED: strict or lenient

15.99 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

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.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.