Write the code using functions. Write a C program that gives user menu to choose
ID: 3770979 • Letter: W
Question
Write the code using functions. Write a C program that gives user menu to choose from – 1. Convert temperature input from the user in degrees Fahrenheit to degrees Celsius 2. Convert temperature input from the user in degrees Celsius to degrees Fahrenheit 3. Quit. Formulae- C = (5 / 9) * (F-32) and F = (9/5) * C + 32 Need to use functions only to accomplish 1 and 2. Need to use at least two functions for each scenario and need to call them from the main function. Can use more functions as you see fit.
Introduction to Programming and it must have at least 4 functions.
Explanation / Answer
#include 02 using namespace std; 03 int main() 04 { 05 int ftemp; 06 int ctemp; 07 int select = 0; 08 coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.