Question: Question (C programming) Write a program that will convert from Celsius to Fahrenheit and vice versa. The program should also print the table as requested
Question (C programming)
Write a program that will convert from Celsius to Fahrenheit and vice versa. The program should also print the table as requested by the user. Create at least two (2) functions, celsiusToFahrenheit() and fahrenheitToCelsius() to do the conversion. You can also create a menu to simplify the selection process. (Fahrenheit = 9/5 Celsius + 32)
Sample of program output is as shown below:

Welcome to Temperature Converter 1. Celsius to Fahrenheit 2. Fahrenheit to Celcius 3. Print Converter Table 4. End Selection : 1 Please enter value in Celsius: 0 0 degree Celsius is equivalent to 32 degree Fahrenheit 1. Celsius to Fahrenheit 2. Fahrenheit to Celcius 3. Print Converter Table 4. End Selection: 3 Please choose 1 . Celsius or 2. Fahrenheit: 1 Enter your starting value in Celsius: 2 Enter your end value in Celsius: 7 Printing Chart.. Celsius Fahrenheit 35.60 37.40 39.20 41.00 42.80 44.60 1. Celsius to Fahrenheit 2. Fahrenheit to Celcius 3. Print Converter Table 4. End Selection: 4 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
