how to ignore inputs after sum reaches exceeds 2000

solved
Last edited on
i dont need i. This line

Programmer[i].lineOfCode += code;

did the work i run it and it works i just dont know how to ignore input once a programmer reaches 2000 line of code.
Topic archived. No new replies allowed.