+ 2

May someone explain me where M I going wrong

The code is supposed to be printing the prime no from 1 to n( which is a limit as input by the user) So here is the code https://code.sololearn.com/cAJ34Ch8Ozs2/?ref=app Have a look n help me

10th Feb 2021, 6:21 AM
Ayush Pandey
Ayush Pandey - avatar
3 Antworten
+ 4
10th Feb 2021, 6:38 AM
A͢J
A͢J - avatar
+ 2
I Am AJ ! Thanks Bruhh
10th Feb 2021, 7:02 AM
Ayush Pandey
Ayush Pandey - avatar
+ 1
Initialize k = 0 after the second for block https://code.sololearn.com/crxeLhcYzBcA/?ref=app
10th Feb 2021, 6:51 AM
Indranil
Indranil - avatar