errors can be syntax errors or logic errors (the code works, but not as intended). the loop must iterate 3 times to generate a lottery number. which of the following loops contains an error? for(int n