logo
A versatile cross-platform mind mapping tool.
appstore
Get from App Store
Get
logo
A versatile cross-platform mind mapping tool.
appstore
Get from App Store
Get
edraw-max-horizontal
Guide
What's New
Edraw Max online
TRY IT FREE
BUY NOW

Examples for Algorithm Flowcharts

> Flowchart Examples > Examples for Algorithm Flowcharts
Posted by Allison Lynch | 02/27/2020
Algorithms and flowcharts are two different ways of presenting the process of solving a problem. Algorithms consist of a set of steps for solving a particular problem, while in flowcharts, those steps are usually displayed in shapes and process boxes with arrows. So flowcharts can be used for presenting algorithms. This page will introduce some examples of algorithm flowcharts.

Flowcharts are diagrams that visually present the process of solving problems. The steps of creating algorithms flowcharts are described below. On this page you will find some flowchart examples explaining the algorithms.

Rules of Drawing Flowcharts for Algorithms

There are some basic shapes and boxes included in flowcharts that are used in the structure of explaining steps of algorithms. Knowing how to use them while drawing flowcharts is crucial. Here are some rules that should be known:

  1. All boxes of flowcharts are connected with arrows to show the logical connection between them,
  2. Flowcharts will flow from top to bottom,
  3. All flowcharts start with a Start Box and end with a Terminal Box,

Examples of Flowcharts for Algorithms

These examples will help you get a better understanding of flowchart techniques.

Example 1: Calculate the Interest of a Bank Deposit

Algorithm:

  • Step 1: Read amount,
  • Step 2: Read years,
  • Step 3: Read rate,
  • Step 4: Calculate the interest with formula "Interest=Amount*Years*Rate/100
  • Step 5: Print interest,

Flowchart:

Algorithm Flowchart Example 1

Example 2: Determine and Output Whether Number N is Even or Odd

Algorithm:

  • Step 1: Read number N,
  • Step 2: Set remainder as N modulo 2,
  • Step 3: If remainder is equal to 0 then number N is even, else number N is odd,
  • Step 4: Print output.

Flowchart:

Algorithm Flowchart Example 2

Example 3: Determine Whether a Temperature is Below or Above the Freezing Point

Algorithm:

  • Step 1: Input temperature,
  • Step 2: If it is less than 32, then print "below freezing point", otherwise print "above freezing point"

Flowchart:

Algorithm Flowchart Example 3

Example 4: Determine Whether A Student Passed the Exam or Not:

Algorithm:

  • Step 1: Input grades of 4 courses M1, M2, M3 and M4,
  • Step 2: Calculate the average grade with formula "Grade=(M1+M2+M3+M4)/4"
  • Step 3: If the average grade is less than 60, print "FAIL", else print "PASS".

Flowchart:

Algorithm Flowchart Example 4

How to Create a Algorithm Flowchart?

First of all, you have to download a flowchart software. After installing a flowchart maker, you can sign up an account and log in with your account.

Edraw Max: a swiss knife for all your diagramming need

  • Effortlessly create over 280 types of diagrams.
  • Provide various templates & symbols to match your needs.
  • Drag and drop interface and easy to use
  • Customize every detail by using smart and dynamic toolkits.
  • Compatible with a variety of file formats, such as MS Office, Visio, PDF, etc.
  • Feel free to export, print and share your diagrams.

Follow the steps below:

  1. Select an appropriate template.
  2. Customize the template according to your needs.
  3. Add content to the template.
  4. Export your algorithm flowchart to the file format that you want.

Tips for Creating Algorithm Flowcharts

1. Adding Shapes in Flowcharts:

While drawing flowcharts with Edraw flowchart maker, shapes can be simply dragged and dropped beside the box at any direction (right, left, up or below) with the help of mouse, and they will be connected by arrows automatically.

As shown in this picture:

Shapes

Click the icon on the side of the box, shapes will be added automatically at any direction needed. Types of shapes can be modified by clicking on the icon at the top right corner and choosing the shape needed.

As shown in the picture below:

Add and Change Shapes in Flowcharts

2. Themes and Colors:

Under the "Layout" menu, the two buttons shown in the picture can help with the theme and the color matching of your flowcharts. If your time is limited or simply cannot come up with the right color matching, why not just pick one from the various color combinations prepared by our professional designers?

Two Layout Buttons

Themes and Colors

Flowchart is a better way of presenting the steps of solving a problem and the concerned logical system that described in an algorithm. It provides a more effective analysis of the problem.

Want to Know More about Flowcharts?

Flowchart Examples for Students

3 Types of Flowchart

How to Create Visio Flowchart

Definition of Program Flowchart

Top 10 Creative Flowchart Templates

Neural Network Diagram Examples

Get Started! You Will Love This Easy-To-Use Diagram Software.

Edraw Max is perfect not only for professional-looking flowcharts, organizational charts, mind maps, but also network diagrams, floor plans, workflows, fashion designs, UML diagrams, electrical diagrams, science illustration, charts and graphs... and that is just the beginning!