Print prime number till N

SIR FOLLOWING IS MY CODE -

Here is your debugged code https://ide.codingblocks.com/s/371570