Temperature Conversion Program

temp-f2c-starter.cpp

Download file: Windows | macOS | Unix

 1// Program    : Temperature Conversion - Fahrenheit to Celsius (starter file)
 2// Author     : Prof. Krofchok
 3// Date       : Fall 2025
 4// Description: Converts a temperature input by the user from Fahrenheit
 5//              to Celsius.
 6
 7#include <iomanip>
 8#include <iostream>
 9
10???
11
12int main()
13{
14    ???
15
16    ???
17}
18
19//
20// An input module that gets a Fahrenheit temperature from the user.
21//
22void input_data(???)
23{
24    ???
25}
26
27//
28// A processing module that computes the Celsius temperature that is
29// equivalent to the given Fahrenheit temperature.
30//
31void perform_calculations(???)
32{
33    ???
34}
35
36//
37// An output module that displays a Fahrenheit temperature and its Celsius
38// equivalent.
39//
40void output_results(???)
41{
42    ???
43}