MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following iterative code used to convert a decimal number to its equivalent binary: Which of the following lines should be inserted to complete the above code? |
| A. | n– |
| B. | n /= 2 |
| C. | n /= 10 |
| D. | n++View Answer |
| Answer» C. n /= 10 | |