Flowchart to convert Celsius to Fahrenheit Temperature
Overview
In this article, we will model a Raptor flowchart to convert Celsius to Fahrenheit Temperature. The flowchart prompts the user for Celsius temperature and converts to Fahrenheit temperature. The output is displayed to the console window.
User entered : Celsius Temperature
Converted Fahrenheit Temperature.
IPO chart
Input | Process | Output |
Temperature in Celsius | Process calculations done in the flowchart Fahrenheit =( 9.0 * Celsius/5) + 32.0 ; |
1.User entered Celsius Temperature
2 Converted Fahrenheit temperature. |
Flowchart
Testcases
Let’s test the Raptor flowchart with sample test cases to check if the program is working as intended.
Test Case Scenario | Detailed Steps | Test Data | Expected Result | Actual Result |
Positive TestCase | Launch Raptor Tool. Model the flowchart. Run the flowchart. Enter temperature in Celsius in Input prompt. |
38.89 | 100.00 | |
Negative TestCase | Launch Raptor Tool. Model the flowchart. Run the flowchart. Enter Invalid temperature in the Input prompt. |
Non Number input: abcd | Error should be displayed. |
Sample Output
Celsius Temperature := 38.8900 C
Fahrenheit Temperature:=102.0020 F
—-Run complete. 7 symbols evaluated.—-
Raptor Tutorials on this website can be found at:
https://www.testingdocs.com/raptor-a-flowchart-tool/
RAPTOR official website: https://raptor.martincarlisle.com/