TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Raptor Flowchart

Addition of Two Numbers RAPTOR flowchart

Raptor Flowcharts

Introduction

RAPTOR flowchart enables students and beginners to develop problem-solving skills and improve algorithmic thinking. In this post, we will learn the addition of two numbers and print the sum output using the RAPTOR flowchart tool.

Create the flowchart

Launch the RAPTOR flowchart tool.

We can build the flowcharts in the workspace area and watch them update as they execute. The area to the right is the primary workspace. The workspace is tabbed. To know more about RAPTOR tool components. ( https://www.testingdocs.com/raptor-tool-components/)

Initially, a single tab named “main” is shown. We can drag & drop the flowchart symbols from the left to build the flow chart. Initially, the empty flowchart has Start and End symbols.

Empty Flowchart

 

Drag and drop the symbols onto the flow chart as shown below. To work with input and output symbols follow the instructions in the link:  https://www.testingdocs.com/raptor-flowchart-basics-input-and-output/

Pseudocode for the addition of two numbers

START

  • Initialize sum variable to <- 0
  • Prompt the user to get input variable A.
  • Prompt the user to get input variable B.
  • Calculate sum <- A + B
  • Display the sum output variable on the console.

END

 

 

Flowchart Execution

To run the flowchart click on the run button.

or choose from the Menu Run >> Execute to Completion.

 

Run button Flowchart

 

Enter the variables in the input prompt dialogues for A and B variables.

User Prompt Flowchart

 

Flowchart output is displayed in the MasterConsole window.

Flowchart output

 

Input Validation

The flowchart doesn’t validate the user input. To validate the user input in the flowchart:

https://www.testingdocs.com/multiply-two-numbers-raptor-flowchart/

To handle abnormal conditions in the flowchart:

https://www.testingdocs.com/division-of-two-numbers-raptor-flowchart/

 

RAPTOR tutorial page: https://www.testingdocs.com/raptor-a-flowchart-tool/

RAPTOR official website: https://raptor.martincarlisle.com/

Related Posts

Install RAPTOR Avalonia CentOS

Raptor Flowchart /

Install RAPTOR Avalonia on CentOS

RAPTOR Avalonia Edition Windows

Raptor Flowchart /

Download RAPTOR Avalonia Edition on Windows

RAPTOR Editions

Raptor Flowchart /

RAPTOR Editions

RAPTOR flowcart to write to a file output

Raptor Flowchart /

Write to a file with RAPTOR flowchart

Raptor Flowchart /

Simulation of probabilities die roll using Raptor Flowchart

› Raptor Subcharts

Recent Posts

  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Print Triangle Pattern Flowchart
  • RAPTOR Editions
  • Flowgorithm Conditional Breakpoint Statement
  • Flowgorithm Read Numbers from File Example
  • Search Text File Flowchart Example
  • Flowgorithm Turtle Graphics Symbols
  • Draw Circle using Flowgorithm Turtle

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version