Print prime numbers between 1-100 in java

后端 未结 0 1954
醉酒成梦
醉酒成梦 2020-11-27 03:36

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++) {
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题