Sunday, August 23, 2020

9.1.1 Symbols of Flowchart

 Symbols of Flowchart


  • Some symbols are used to explain a program graphically. These symbols have already been provided to you. 
  • These are called flow chart symbols. 
  • Every symbol has a meaning so that the flow chart can easily be understood by the viewer. 
  • You are being told about the flow chart symbols through the table.



Example of Flow Chart


  • Suppose you want to create a program of addition which reads 2 numbers from the user and adds them to a result display. 
  • For this you will create a flow chart like this.


  • The flowchart in the above given flowchart has been started from the first oval symbol. 
  • After this, 3 variables (num1, num2 and result) are declared by rectangle symbol.
  • After this, the process of reading the num1 and num2 by the parallelogram is shown. 
  • After this there is a process of assigning the addition of both numbers and the assignment of the Result variable by rectangle symbol. After this, the process of displaying the result by parallelogram is shown.
  • At the end the flowchart has been stopped by the terminal symbol. By looking at this flow chart, anyone can easily create a program of addition in any language. 
  • Let us see another example of the flow chart. 
  • Suppose you want to create a program that reads two integer numbers and displays which is greater than that. For this, the flow chart will be created like this.


  • Everything in the flow chart above is the same as before, just by the diamond symbol, the condition according to the condition is displayed which is bigger than the number of the two numbers.

No comments:

Post a Comment

Please do not any spam link in Comment Box