Which pseudocode should you use?
A. WHILE exponent > 1 SET result TO result * number SET exponent TO exponent – 1LOOPReturn result
B. IF exponent > 1 SET result TO result * number SET exponent TO exponent – 1END IFReturn result
C. IF exponent > 1 SET result TO result * number SET exponent TO exponent + 1END IFReturn result
D. WHILE exponent > 1 SET result TO result * number SET exponent TO exponent + 1LOOPReturn result
Answer:C
Which pseudocode should you use?
A. WHILE exponent > 1 SET result TO result * number SET exponent TO exponent – 1LOOPReturn result B. IF exponent > 1 SET result TO result * number SET exponent TO exponent – 1END IFReturn result C. IF exponent > 1 SET result TO result * number SET exponent TO exponent + 1END IFReturn result D. WHILE exponent > 1 SET result TO result * number SET exponent TO exponent + 1LOOPReturn result