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

RAPTOR Flowcharts

Flowchart to convert length from feet to centimeter

Mathematics

Overview

Flowchart to convert length from feet to the centimeter. The flowchart prompts the user to enter the length in feet. It converts the length into centimeters.

To work with the input and output symbols in the Raptor flowchart:

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

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

Pseudocode

/**
 * NAME:www.TestingDocs.com
 * DATE:
 * FILE:
 * COMMENTS:
 */

START
 // declare variables
 
 lengthInFeet = 0;
 lengthInCentimeters = 0;
 CONVERSION_FACTOR = 30.48;
 PROMPT = "Enter length in Feet";
 INPUT lengthInFeet;
 lengthInCentimeters = lengthInFeet * CONVERSION_FACTOR;
 Print("Length in feet=" + lengthInFeet);
 Print("Length in Cm=" + lengthInCentimeters);
END

Flowchart

Feet to Cm

 

Sample 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/

Output

Length in feet=2
Length in Cm=60.9600
—-Run complete. 9 symbols evaluated.—-

We can validate the input in the flowchart to allow the user to enter only valid input. To make the flowchart reject invalid input data:

https://www.testingdocs.com/user-input-validation-in-raptor-flowchart/

 

Raptor Tutorials on this website can be found at:

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

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

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

‹ Flowchart to swap two numbers without using any other variables› Flowchart for x raised to the power of y

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