![]() |
Pseudocode Tutorial - The Basics
Pseudocode is a compact and informal high-level description of a program using the conventions of a programming language, but intended more for humans.
Why Pseudocode?Pseudocode omits programming level details (like declaration of variables, looping syntax ...) and so it makes things very easy to understand for human being and implement it in any programming language easily. How to Write Pseudocode?There is no pseudocode standard syntax and so at times it becomes slightly confusing when writing Pseudocode and so let us understand pseudo code with an example. Example Let us take a very simple program of pascal triangle in C++. Code: Cpp
Code:
Input Variable numFinal ThoughtsI have tried to explain the basics of Pseudocode but if you have more questions, post them in comments below. |
Re: Pseudocode Tutorial - The Basics
Short but effective!!
Nice work Sir!! |
Re: Pseudocode Tutorial - The Basics
Thanks. :D
|
| All times are GMT +5.5. The time now is 23:44. |