Print all prime numbers till N

sir i am having trouble in making flow chart to print all prime number till N where N is user input. i tried to breakdown and convert the pseudo code to flowchart but unable to solve so please provide me the flowchart for that