Q. Write the output of the following:
Code:k = 5
sk = 0;
while k <= 12:
sk = sk + k
k = k + 4
print(sk, k)
β
Correct Answer: (C)
14 13
k = 5
sk = 0;
while k <= 12:
sk = sk + k
k = k + 4
print(sk, k)
You must be Logged in to update hint/solution