Se consideră algoritmul test(n), unde n este număr natural (1 ≤ n ≤ 103).
Algorithm test(n):
c ← 1
While n > 0 execute
n ← n - 2
c ← c * 2
EndWhile
Return c
EndAlgorithmCare dintre următoarele afirmații sunt adevărate?
Alegeți toate variantele corecte.