Flowchart to convert Celsius to Fahrenheit Temperature
Flowchart to convert Celsius to Fahrenheit
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
The RAPTOR flowchart is shown below:
Testcases
Let’s test the Raptor flowchart with sample test cases to check if the program is working as intended. Run the following test cases on your flowchart.
Test Case Scenario | Detailed Steps | Test Data | Expected Result | Actual Result |
Positive Test Case | Launch Raptor Tool. Model the flowchart. Run the flowchart. Enter temperature in Celsius in Input prompt. |
38.89 | 102.00 | |
Negative Test Case | 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
Raptor Tutorials on this website can be found at: