This program converts an input Fahrenheit temperature to Celsius.

Main Program
    Get Fahrenheit
    Calculate Celsius
    Display Result

Get Fahrenheit
    Parameters:
        None
    Process:
        Display Prompt
        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 and Celsius temperatures
    Return Value:
        None

License

Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

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

Share This Book