TestingDocs.com
Testing Questions
  • Home
  • Automation
    • Selenium
    • TestNG
  • Tutorials
    • MySQL Tutorials
    • TestLink
    • Maven
    • Git
  • Flowcharts
    • Flowgorithm
    • Raptor

RAPTOR Flowcharts

Flowchart to find average of two numbers

Mathematics

Introduction

Let’s design a flowchart to find the average of two numbers in this tutorial. The flowchart will prompt the user to enter the two numbers. The flowchart would calculate the average of the numbers.

We would be using the Raptor flowchart interpreter for modeling the flowchart.

Raptor Tutorial

Raptor Tutorials on this website can be found at:

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

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

IPO chart

Consider modeling an IPO chart for the flowchart before the flowchart design. Think about the input to the flowchart, processing statements, and the output of the flowchart. IPO chart is a handy tool to visualize in a tabular format.

 

Input Process Output
Input to the flowchart. Computations that are done in the flowchart. Output displayed by the flowchart

Flowchart

Adding input and output symbols to the flow chart:

https://www.testingdocs.com/raptor-flowchart-basics-input-and-output/

 

Find Average of Two Numbers Flowchart

 

We have used two predefined functions is the flowchart.

  • Clear_Console
  • Set_Precision

Clear_Console clears the master console before the execution of the flowchart. Any previous run outputs in the console would be cleared.

Set_Precision(digits) will set the output values to the supplied number of significant places after the decimal.

Output

Let’s run the flowchart with sample test cases to verify that it’s working as intended. If you find that the flowchart is not working as intended in the testing, we may need to verify and debug the flowchart.

Debugging a flowchart: https://www.testingdocs.com/debugging-a-raptor-flowchart/

 

Run the flowchart.

Enter values 25 and 30 for the input numbers.

Numbers entered by the user=25.00 and 30.00
Average of the two numbers is=27.50

 

Raptor Flowchart Average

 

More Flowchart Examples

https://www.testingdocs.com/raptor-flowchart-examples/

Related Posts

Bull

RAPTOR Flowcharts /

How to draw Bull’s Eye Raptor Graphics Flowchart

Weekly Gross Pay Raptor Flowchart

RAPTOR Flowcharts /

Weekly Gross Pay Raptor Flowchart

Reptition Structure

RAPTOR Flowcharts /

How to add repetition structure to the Raptor Flowchart

Selection Symbol

RAPTOR Flowcharts /

How to use selection symbol in Raptor flowchart

Calculator Raptor Flowchart

RAPTOR Flowcharts /

Calculator Raptor Flowchart

‹ How to uninstall Raptor Flowchart tool› Raptor flowchart to find Factorial of a number

Recent Posts

  • How to Hide Taskbar on Windows 11
  • How to edit PATH variable on Windows 11?
  • Enable BitLocker Drive Encryption on Windows 11
  • How to lock Windows 11 PC
  • How to Add, Remove Widgets on Windows 11
  • How to Rename PC on Windows 11?
  • How to Shut down Windows 11 PC?
  • How to launch command prompt on Windows 11
  • Install Windows 11 Insider Preview on Virtual Machine
  • How to Create a Restore point in Windows 11

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version