MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following iterative implementation to find the factorial of a number:Which of the following lines should be inserted to complete thebelow code? |
| A. | fact = fact + i |
| B. | fact = fact * i |
| C. | i = i * fact |
| D. | i = i + fact |
| Answer» C. i = i * fact | |