I am getting an error while writing a prime number between a given range

前端 未结 0 1703
灰色年华
灰色年华 2021-02-08 19:35

I am giving the range as 1 to 10 but it is giving me the output as 3 5 7 9. why it is giving me 9 but not 2. here it is my code.

public class SecondActivity exten         


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