
Available under Creative Commons-ShareAlike 4.0 International License.
Exercise 17.3.1
Answer the following statements as either true or false:
- The conditional expression acts like a case structure.
- The conditional operator is a two part operator with three operands.
- Recursion is one method of implementing a repetitive algorithm.
- Recursion is always preferred over an iterative approach to a repetitive problem.
- Factorial is usually demonstrated with an iterative approach.
- 瀏覽次數:1974