in output it is only showing 2 and 3 and not numbers after that.
this code was taught by sir in one of his pseudocode videos.
Program to calculate all prime numbers upto n
hi sir,
thank you for answering my doubt
it worked
but i did not understood that what is the difference in writing (flag=1) inside for loop or in the startinng of the program.