MyBB Community Forums

Full Version: the mistery of Pseudo-code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Heloo there
ow goshhh pseudo-code something really annoying!! however i have exam tomorow in them Toungue

but i was looking at some recourses on the web, and found that they are totaly different than the codes i get in university Confused

the way i take them are more like into real codes than english language

- program starts

- input exam 1 
 if (exam1 >0 );
     then (output "pass")
     else (output "fail")

- program ends 

however when i searched it was really as it should be, more simple english

Quote:input exam 1 then if exam1 in greater than 0 output pass if not output fail

so which is for real the pseudo-code Confused

thanks
There is no "one way" to write pseudocode if you ask me.

Here we go, Wikipedia.

http://en.wikipedia.org/wiki/Pseudo_code

It doesn't really matter how you write it, as long as it is understandable.
Indeed. Pseudo code is supposed to be language independant. It's the english equivalent of program code so that 'normal' people can understand it