There seems to be an error in the answers for this check for understanding. Thecorrect answer should be:
p = pixels[row][col]…
and not:
p = pixels[r][c]…
Is this a mistake or am I misunderstanding?
thanks
There seems to be an error in the answers for this check for understanding. Thecorrect answer should be:
p = pixels[row][col]…
and not:
p = pixels[r][c]…
Is this a mistake or am I misunderstanding?
thanks
This is in AP Computer Science A
@pbender - Hi Patrick, thank you for your post. Yes, you are correct. The answer should use the values for “col” and “row”. I will submit this error to Code.org.
If you find any other obvious mistakes, you can always submit them to support@Code.org.
Sylvia