Flowgorithm Tutorial

Flowgorithm is a free flowchart software application that lets you create runnable flowcharts. Flowgorithm is a visual programming language designed for beginners and students to learn programming skills. The flowchart tool is implemented using the Microsoft C# and is based on .NET 4 Framework.

Origin of the Name


Flowgorithm Logo

Flowgorithm = Flowchart + Algorithm

The name is the fusion of two English words: “Flowchart” and “Algorithm”. Flowgorithm can interactively create source code for the flowchart in many supported programming languages.


The author of Flowgorithm software is: Devin Cook


The major versions of the flowchart software are as follows:

  • 2.x
  • 3.x



A flowchart represents a visual or graphical modeling language to represent the flow of control, execution of algorithms, and instructions.  Introduction To Flowchart Tools

Download & Install

Flowgorithm uses Windows Installer and also supports the silent installation. Steps to install the software on Windows operating system:  Flowgorithm Download & Install On Windows

Flowgorithm Features

Flowgorithm Tool Features

Tool Components

Flowgorithm Tool Components

Sample Flowchart

Sample Flowgorithm flowchart with an output symbol:


Flowgorithm Tutorial


Toolbar Icons

Flowgorithm Menu and the Toolbar icons:

Flowgorithm Toolbar Commands

Flowgorithm Toolbar


Flowchart Symbols

The Flowgorithm flowchart allows us to describe an algorithm in a schematic or graphic way. The operations to be performed, are represented by conventional shapes like rectangles, rhombuses, parallelograms, etc.


Flowchart Symbols Set


Flowgorithm uses symbols to represent the different actions that we want the program to perform. Each shape has a precise logical meaning. The shape contains a textual indication that describes the activity to be performed. The sequence in which the operations must be performed is shown with connecting arrows.

Flowgorithm Flowchart Symbols

Flowgorithm Data Types

Flowgorithm supports the following data types:

Flowgorithm Data TypeDescription
IntegerAn Integer variable stores an integer number
RealA Real variable stores a real number
StringA String variable is used to store a group of characters; for example text data
BooleanBoolean variable stores either True or False
ArrayAn Array is a data structure. It can hold many values of the same data type.

To know more information: Flowgorithm Data Types

Flowgorithm Source File

Flowgorithm Flowchart File Extension

The Flowgorithm source files have an XML(Extensible Markup Language) structure. XML is a standard way of encoding data for processing and exchange across applications on the Web. Flowgorithm source files have *.fprg file extensions. We can edit the *.fprg source file directly with text editors.

Flowgorithm Source File Format


Comment Statement

Flowchart Comments are for other programmers, students, and instructors. They allow others to understand your program and logic.

Flowgorithm Comment Statement

Input/Output Statement

Basic flowchart input and output statements:

Execute Flowchart

We can run flowcharts directly in the Flowgorithm software. Flowgorithm can also convert the flowchart into many popular high-level programming languages. Students can run and execute the flowcharts using the Flowgorithm tool.

Run Flowgorithm Flowchart

Hello World Flowchart

A common way to learn something new is to create a simple “Hello World” program with the programming language or tools we are learning. “Hello World” Flowgorithm flowchart prints the “Hello World” message on the output console window.

Hello World Flowgorithm Flowchart


Flowgorithm Identifiers

Declare Statement

Flowgorithm Declare Statement

Assign Statement

Flowgorithm Assign Statement


Create Variables In Flowgorithm Flowchart

Layout Windows

Flowgorithm Layout Windows

Take User Input

User Input To Flowgorithm Flowchart

If Control

Make Decisions In Flowgorithm Flowchart


Loops allow the repetition of statements in the flowchart. Consider the simple example of printing a hundred numbers. Without loops, we need to add hundred Output statements to the flowchart to print the numbers. This will make the flowchart too big and look cumbersome.
Loop structures allow the repetition of statements. So, with a loop, we can add a single Output statement and iterate the loop a hundred times.

While Loop

While Loop Statement In Flowgorithm

For Loop

For Loop Statement In Flowgorithm

Do While Loop

Do While Loop In Flowgorithm


A function is a sequence of instructions designed to perform a specific well-defined task. Tasks that need to be repeated over and over again can be designed as functions. Flowgorithm functions can be broadly divided into two groups:

  • Intrinsic or Built-in Functions
  • User-defined Functions

Built-in Functions

The flowchart software already predefines built-in functions. Flowgorithm supports over 20 predefined functions.

Built-in Functions In Flowgorithm

User-defined Functions

User-defined functions are defined by the programmer. The programmer can design their own functions and invoke them in the flowchart. We can define the function once and reuse the function.

User-defined Functions in Flowgorithm

Call Statement

The Call statement allows the programmer to invoke functions.

Flowgorithm Call Statement

Function Parameters

Programmer can pass information to the functions using the parameters.


Flowgorithm supports recursion. A recursive function is a function that calls itself.

Recursion In Flowgorithm Flowchart

Generate Code

We can run programs directly in Flowgorithm. Alternatively, Flowgorithm can also convert the flowchart into many high-level popular language source codes. These include:

  • C #,
  • C ++,
  • Java,
  • JavaScript,
  • Lua,
  • Perl
  • Python
  • QBasic
  • Ruby
  • Visual Basic, etc

Flowgorithm Source Code Viewer


An array is a data structure that contains a collection of items. The items should be of the same data type, like an Integer, String, etc. Using Arrays we can store, search, sort, or retrieve data easily.

Arrays In Flowgorithm Flowchart

Flowgorithm Turtle Graphics

Flowgorithm 3.0 introduces a new feature and capability to draw Turtle graphics.

Flowgorithm Turtle Graphics

Turtle Graphics Example

Flowgorithm Turtle Graphics Flowchart

File I/O

Flowgorithm 3.0 introduces file capabilities like reading and writing text files from the flowchart.

File Symbols

Flowgorithm File Flowchart Symbols

Read Text File

Read Text File using Flowgorithm

Write Test File

Write To Text File using Flowgorithm

Export Flowchart

We can export the Floworithm flowchart to an image file. Flowgorithm supports export to PNG(Portable Network Graphics) and SVG(Scalable Vector Graphics) image files.

Export Flowgorithm Flowchart

Update Flowgorithm

The latest version is Flowgorithm 3.0. To update the flowchart tool from an older version:

The below steps update the tool from 2.x -> 3.x

Update Flowgorithm To Latest Version

Official Website

For more information on the tool visit the official website::