RAPTOR flowchart enables students and beginners to develop problem-solving skills and improve algorithmic thinking. In this post, we will learn to add 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 flowchart. Initially, the empty flowchart has Start and End symbols.
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
- 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.
To run the flowchart, click on the run button.
Or choose from the Menu Run >> Execute to Completion.
Enter the variables in the input prompt dialogues for A and B variables.
Flowchart output is displayed in the MasterConsole window.
The flowchart doesn’t validate the user input. To validate the user input in the flowchart:
To handle abnormal conditions in the flowchart:
RAPTOR tutorial page:
RAPTOR official website: