For Lab #6, you must write a C++ language program that meets the following specifications: The program must present a menu prompt for the user to select a particular temperature conversion either a conversion from Fahrenheit to Celsius or Celsius to Fahrenheit i.e. the menu would be similar to: Select one of the following options: 1) Temperature conversion from Fahrenheit to Celsius 2) Temperature conversion from Celsius to Fahrenheit 3) Quit the program now Enter your selection now (1, 2 or 3): Clear the screen(refer to lab 2 on how to do this) and rewrite the menu if a user keys in an integer other than 1, 2 or 3 Pass the selection to a switch statement to process the conversion by use of one of the following formulas Fahrenheit to Celsius use the formula /9(F-32) (use a function for the calculations) Celsius to Fahrenheit use the formula /5+32 (use a function for the calculations) Note: these formulas use doubles for the variables, be aware of side effects of mixing integers and doubles. Finally output the result of the conversion to two decimal places with appropriate labels (use a function for the output) Be sure to insert spaces in the output for readability and allow the user to go back to the menu by pressing the enter key and clearing the screen and redisplaying the menu. Setup your header comments at the beginning of the source file. Set up function headers as follows: (this goes before your function definition) //************************************************************ // // Function name: // // Purpose: // // Input parameters: // name of each parameter and its purpose pass by value parameters // // Output parameters: //name of each parameter and its purpose that is changed during the function // // call, pass by reference parameters // // Return Value: // data type that is returned for the function // //************************************************************ Example: //****************************************************************** // // Function name: countStudents // // Purpose: count number of student records in a file and reset the // file pointer to the beginning of the file for further reads // // Input parameters: in file handle to file to be read // // Output parameters: in updated file handle // // Return Value: int = number of student records // //******************************************************************* int countStudents(ifstream &in) { student tmp; // temporary record for a student int i = 0; // initially we have no student records in >> tmp; while(!in.eof()) { i++; // increase count of students in >> tmp; // read in one record in.clear(); // clear eof flag in.seekg(0); // reset file pointer to beginning of the file return i; · Your program must work correctly with any double input value · Your code must be well structured and it must have comments
Posted on by admin
For Lab #6 you must write a C++ language program that meets the following specifications
WHAT OUR CURRENT CUSTOMERS SAY

- Google

- Sitejabber

- Trustpilot
Zahraa S
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Stuart L
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!

Mindi D
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.

Samuel Y
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.

Cindy L
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
Got an A and plagiarism percent was less than 10%! Thanks!


Jermaine Byrant
Nicole Johnson



