Question: Suppose you have this code, if we run it, will it work properly or is there an error in it? If not; find the error

Suppose you have this code, if we run it, will it work properly or is there an error in it? If not; find the error with explanation? Note: these code should be print even number between 2 and 100 counter = 2; do { System.out.println( counter ); counter += 2; } While (counter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
