Can someone tell me where I'm going wrong here in making this read all prime numbers
import java.util.*;
Here is my original code
Here is the code where I was asked to combine a while loop with a boolean statement. I need help on both.
[Edit: put code between [code] and [/code]
ubb code blocks]