- 1

After I made sure that the number is prime, how can I do the process of collecting the initial setup before it?

Java

27th Mar 2022, 12:20 AM
Yasmin
Yasmin - avatar
2 odpowiedzi
0
FF9900 For example, we have the number 9 not prime, if I add the prime numbers before it 7 + 5 + 2 + 1 + 3 = 18..... and if the number is prime, for example 5, so 5 + 3 + 2 + 1 = 11 How do I do this addition process؟!
27th Mar 2022, 7:49 PM
Yasmin
Yasmin - avatar