Sunday, May 29, 2016

Flowchart: A Programming Tool

Flowchart is a useful tool in creating and explaining programs. And, it can be useful too even if in our daily lives.
You will see flowcharts in banks as they show procedures how to create a new account or in schools to demonstrate enrollment procedures. 
Common symbols are as follows:

So, how do we use flowchart?
Problem 1: Read two numbers, compute and display their sum.
Flowchart solution:

If one likes to know instruction to post a Facebook status with image, he can follow these basic steps or algorithm:
  1. Write some texts on Facebook.
  2. Search for desired picture.
  3. If found, select the desired picture and upload the picture.
  4. Hit FB button POST.
Your flowchart may look like this:

No comments: