

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 thebelow code? |
A. | n– |
B. | n /= 2 |
C. | n /= 10 |
D. | n++ |
Answer» C. n /= 10 | |