Pseudo Code

Pseudo Code 

Pseudo Code is representation of  flow of program.
Pseudo Code cannot be executed directly in any programming language.(Since every programming language has its own syntax)
But, it can be used by any programmer to write programs in any programming language.
Let's understand with an example.

Image result for pseudo code in c


In above picture, logic of finding largest among 3 numbers is given.
But, if we copy paste this code as it is in any compiler and try to execute program, compiler will give an error.
But, referring to this we can apply proper syntax and complete our program in any programming language.

Summary:
Pseudo Code is representation of  flow of program.

No comments:

Post a Comment