TestingDocs.com
Software Testing website
  • JBehave
  • Selenium
  • Testlink
  • Maven
  • Git
  • RAPTOR
  • Questions

Addition of Two Numbers RAPTOR flowchart

Tweet
Pin it

Document Contents

  • Introduction
  • Create the flowchart
  • Empty Flowchart
  • Pseudocode for the addition of two numbers
  • Flowchart Execution
  • Input Validation

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

RAPTOR flowcart to write to a file output

Raptor Flowchart /

Writing to a file with RAPTOR

Raptor Flowchart /

Simulation of probabilities die roll using Raptor Flowchart

String length

Raptor Flowchart /

String Operations in Raptor Flowchart

Demo flowchart

Raptor Flowchart /

Raptor Subcharts Demo Flowchart

User input validation in Raptor flowchart

Raptor Flowchart /

User input validation in Raptor flowchart

Tag Cloud

Agile Appium Tutorials C++ Eclipse Tutorials Git Tutorials IntelliJ Tutorials Java Java Tutorial JBehave Jenkins Jira Cloud JUnit Tutorial Maven Object-oriented Flowchart Python Tutorials Raptor Flowcharts Selenium IDE TestLink Tutorials

Random Posts

  • TestLink Bitnami Cloud Image
    Overview In this tutorial, we will see the steps

    Read more

  • Code Coverage Tools
    Overview Let’s look at some of the code coverage

    Read more

  • pCloudy Continuous Testing Cloud
    Overview pCloudy is a continuous testing cloud

    Read more

Latest Tweets

Tweets by @TestingDocs

Back to Top

TestingDocs.com

Privacy Policy

Cookie Policy

  • JBehave
  • Selenium
  • Testlink
  • Maven
  • Git
  • RAPTOR
  • Questions
www.TestingDocs.com | All Rights Reserved