Flowchart
In this blog , lets discuss regarding flow chart and pseudo codes used in programming.
Table of contents
No headings in the article.
Flow chart is the pictorial representation of steps which we want to represent in a
program.
Representation :
Start /Stop -- Oval /Pill shape -- Represents start and stop of the program.
Input / Output -- Parallelogram -- Represents inputs and outputs of the given program.
Processing -- Rectangle -- Process the given information in the program.
Diamond -- Rhombus --Used for Decision making.
Arrow -- Represents flow of the Program.
Pseudo code:
-Pseudo code, as the name suggests, is a false code or a representation of code which can be understood by even a layman with some school level programming knowledge.
For suppose if we take sum of two numbers problem we write it in steps.
Consider two numbers of type int as input and an operator which adds two numbers to
produce sum of two numbers represented as output can be called as pseudo code where
Steps :
take inputs a and b.
to add and store the output use sum and operator (+).
3.After completion of the operation store the output value to sum.
Advantages of using these methods :
Makes easy to understand.
Even non coder can make an attempt to understand the steps involved while writing the code.
That's all for this article see you in the next one 😊
See you:)
join me on Canva: lavs
Lets catch up!!
- Reach me out at below links:💥
- Github:🙋Github
- LinkedIn: 👸Linkedin
- Youtube: 💬Youtube
- Twitter- 💬Twitter
- Hashnode - 💬Hash Node