so I\'ve been trying to print prime numbers on the screen and I just couldn\'t make it work it just prints out all the numbers in the range.
public static vo