Question: a. c. (Celsius and Fahrenheit Temperatures) Write a C++program that implement the following two functions: Function celsius returns the Celsius equivalent of a Fahrenheit temperature.

a. c. (Celsius and Fahrenheit Temperatures) Write a C++program that implement the following two functions: Function celsius returns the Celsius equivalent of a Fahrenheit temperature. b. Function fahrenheit returns the Fahrenheit equivalent of a Celsius temperature. Use these functions to write a program that prints charts showing the Fahrenheit equivalents of all Celsius temperatures from 0 to 50 degrees, and the Celsius equivalents of all Fahrenheit temperatures from 32 to 82 degrees. Print the outputs in a neat tabular format that minimizes the number of lines of output while remaining readable. F C + 32 (Fahrenheit equivalent to given in Celsius) C= (F 32) (Celsius equivalent to given in Fahrenheit) 9.0 5.0 5.0 9.0 Sample output Fahrenheit equivalents of Celsius temperatures: Fahrenheit Celsius 0 1 32 Celsius 25 26 Fahrenheit 77 78 33 2 Celsius equivalents of Fahrenheit temperatures: Fahrenheit 32 33 34 Celsius 0 0 1 Fahrenheit 57 58 59 Celsius 13 14 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
