+ 2

I need explanation step by step

Calculate about 2 to 200 prime numbers https://code.sololearn.com/wepHltxDyE9F/?ref=app

14th Jan 2023, 5:42 PM
DUALE ADAM ALI
DUALE ADAM ALI - avatar
1 ответ
+ 3
The outer loop (j) causes each number between 2 to 200 to be checked. The inner loop finds the smallest factor (other than one) of each value of j. If it is the same as j, then it is a prime number.
14th Jan 2023, 6:05 PM
Lochard
Lochard - avatar