how do i better understand pseudocode and solve problems that concern it

Recommended Answers

All 2 Replies

Pseudocode is a textual or semi-functional description of code to solve a problem. So if, the C code were for (int i == 0; i < 10; i++)... the pseudocode would be something like

for i = 0 while i is less than 10 then increment i and do stuff until i equals or is greater than 10
Got it?

It's often a much higher level description of a process or algorithm, eg rubberman's example could be

Do <stuff> for each whole number between 1 and 10

In general you can take pseudo-code and turn it into a program in a language of your choice - the pseudo code will tell you what needs to be done without getting into the specifics of how you would do that in any particular language.

I can't think of any solvable "problems that concern it". You just write it.

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.