what is the pseudocode for printing prime numbers to a given value n

Um... I guess first off the main question is do you know what pseudocode is?

In case you don't it's the written process of working out the logic for a given code problem. I.e.: The steps that will be required to reach a required conclusion. It doesn't involve actually writing the code itself, just the logical steps you'd take to get the job done.

Having said that... Are you really asking people here to do this for you?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.