I know this is not the right way to do it but why it does not work
public static void main(String[] args) { for (int i = 2; i <= 100; i++) {