Question
I need help with my c++ assigment. Heres a link to the assigment. https://www.dropbox.com/s/9iuj62hi1eo6l5j/CSC260_P3-TemperatureConversion_FunctionsFilesClass_SP18%202.pdf?dl=0 Heres what I have so far: /* This program prints out
I need help with my c++ assigment. Heres a link to the assigment. https://www.dropbox.com/s/9iuj62hi1eo6l5j/CSC260_P3-TemperatureConversion_FunctionsFilesClass_SP18%202.pdf?dl=0
Heres what I have so far:
/* This program prints out a conversion table of temperatures, after prompting the user for upper and
lower bounds of the table in Fahrenheit, and the temperature difference between table entries.
*/ #include
using namespace std;
int main()
{ int lower = 0; /* the lowest Fahrenheit entry in the table */ int upper = 0; /* the highest Fahrenheit entry in the table */ int step = 1; /* difference in Fahrenheit between entries */
/* print a message explaining what the program does: */ print_introduction_message();
/* prompt the user for table specifications in Fahrenheit: */ get_conversion_table_specifications(lower, upper, step);
/* print appropriate message including an echo of the input: */ print_message_echoing_input(lower, upper, step);
/* Print the table (including the column headings): */ print_table(lower, upper, step);
return 0; }
/* FUNCTION TO CONVERT FAHRENHEIT TO CELSIUS */ double fahrenheit_to_celsius (int fahr)
{
return (static_cast
/* FUNCTION TO CONVERT FAHRENHEIT TO KELVIN VALUE */ double fahrenheit_to_kelvin (int fahr) {
return ((static_cast
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started