Im not sure why system is labeling my answer as incorrect

To me, my code seems to answer the problem, but its still being labeled as incorrect. Could someone please let me know what I missed?

Hello! Could you post a link to the exercise, please?

I think it just wants you to increment the variable, count, by one in step two. Your code does step 3 as well, but CC wishes you to only have:

} while(!buttonClick);

(no logic at this stage).

thank you very much. it helped.

1 Like