How to trace this code?? and why they use thsi code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to trace this code?? and why they use thsi code?

i need your help to trace this code . i have no idea how to do this

1st Sep 2019, 1:44 PM
Myles Rey Billgates
Myles Rey Billgates - avatar
2 Answers
0
Which code?
1st Sep 2019, 1:57 PM
S Shashank
S Shashank - avatar
0
for ( 1 : 2 ; i < 100 ; it t ) { for ( j = 2 j j = = ( 1 / 3 ) ; j + + ) IF ( ! (ij ) ) break; / i f factor found, not prime iF ( j> (i/j) ) cout << i <<" is prime \n" } return o;
2nd Sep 2019, 1:14 AM
Myles Rey Billgates
Myles Rey Billgates - avatar