this might be a silly question but I have tried everything and I am completely lost. I have the following code.
while (k