How to make my program return Prime Factors of a user inputted integer?

后端 未结 0 1430
-上瘾入骨i
-上瘾入骨i 2020-12-16 22:15

So I already wrote a simple program that returns the factors of a number that the user inputs through the Scanner class. But I need this program to print only the prime fact

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