• TestingDocs
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

Sum of Squares Array Elements Modular Approach

Raptor Flowchart /

Sum of Squares of Given Array Elements

› Raptor Subcharts

Recent Posts

  • How to secure your SQL Database: Tips and Tricks
  • Shaping the Future of Development: Exploring Key Trends in Software Engineering
  • Improving Java Performance with Multithreading
  • Difference between PHP and JavaScript?
  • Bing Conversation Styles
  • ChatGPT Introduction
  • Open Source AI Frameworks
  • Artificial Intelligence Tools
  • Top AI Music Applications
  • Top AI Website Design Tools

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com