Course Content
Introduction to Computer System
Introduction to Computer System
0/5
Computer Software
Computer Software
0/3
Introduction to Flowcharts
Introduction to Flowcharts
0/5
Introduction to Flowgorithm
Introduction to Flowgorithm
0/5
Flowgorithm Installation
Flowgorithm Installation on Windows
0/5
Flowgorithm Features
Flowgorithm Features
0/1
Flowgorithm User Interface
Flowgorithm User Interface
0/3
Flowgorithm Flowchart Shapes
Flowgorithm Flowchart Shapes
0/1
Flowgorithm Data Types
Flowgorithm Data Types
0/1
0/1
Flowgorithm I/O
Flowgorithm Input/Output
0/3
Flowgorithm Variables
Flowgorithm Variables
0/6
Flowgorithm Numbers
Flowgorithm Numbers
0/1
Flowgorithm Strings
Flowgorithm Strings
0/1
Flowgorithm File Format
Flowgorithm File Format
0/1
Flowgorithm Program Attributes
Flowgorithm Program Attributes
0/1
IPO Chart
IPO Chart ( Input, Process and Output Chart )
0/2
First Flowgorithm Flowchart
First Flowgorithm Flowchart
0/2
0/2
Flowgorithm Lab
This is lab activity to create and run flowcharts using Flowgorithm Software.
0/6
Flowgorithm Quiz
Flowgorithm Quiz
0/1
Flowgorithm Beginner Exercises
Flowgorithm Beginner Exercises
0/1
Flowgorithm Beginner

## Flowchart to add two numbers

Let’s design the flowchart to add two numbers and implement the algorithm from lesson 1.

Start Flowgorithm software.

Save the flowchart. ( for example: AddTwoNumber.fprg )

Add two Declare symbols to the flowchart. Create two variables, num1 and num2, of type Real.

Declare another variable result of type Real to store the sum of the two numbers.

Add two Output symbols to the flowchart to prompt the user to input.

Add two Input symbols to the flowchart to take input for the num1 and num2 variables.

The flowchart should look like below:

The first prompt will take the input and store the data in the variable num1.

The second prompt will take the input and store the data in the variable num2.

Add an Assign symbol to the flowchart. This will store the sum of the two numbers.

result <- (num1 + num2 )

Add an Output symbol to output the result to the console screen.

Â

Â

Save the flowchart.

Run the flowchart and enter two numbers. Check the output of the flowchart.

### Flowchart Sample Output

Â

Join the conversation