Program Plan

This program converts an input Fahrenheit temperature to Celsius.

 

Main Program

Get Fahrenheit

Calculate Celsius

Display Result

 

Get Fahrenheit

Parameters:

None

Process:

Get Fahrenheit temperature

Return Value:

Fahrenheit temperature

 

Calculate Celsius

Parameters:

Fahrenheit temperature

Process:

Convert Fahrenheit temperature to Celsius

Return Value:

Celsius temperature

 

Display Result

Parameters:

Fahrenheit temperature

Celsius temperature

Process:

Display Fahrenheit temperature and Celsius temperature

Return Value:

None

License

Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

Programming Fundamentals by Authors and Contributors is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book