Question: Please use c++ as only coding language* Problem 1 (100 points) Your assignment is to write a program that uses functions to provide information about

Please use c++ as only coding language*Please use c++ as only coding language* Problem 1 (100 points) Your

Problem 1 (100 points) Your assignment is to write a program that uses functions to provide information about the perceived temperature. For all of the functions, be sure to the function declarations before main, but the function definitions after main. (This is considered good style.) The program should allow users to enter the temperature in either Fahrenheit or Celsius and then give output in, Fahrenheit and Celsius as well as information on the wind-chill and the heat index when it is relevant. That is the wind-chill and heat index is computed only under certain conditions, for e.g. based on Fahrenheit value of the temperature, you will compute windchill only for temperatures less than or equal to 50F and you will compute the heat index only for temperatures greater than or equal to 80F As always, you must use good style: using an efficient algorithm, a good header, appropriate declarations, meaningful variable names, comment lines, etc. Write the following functions (#1-#5 MANDATORY. #6 OPTIONAL for EXTRA CREDIT) 1. A function called welcome that returns nothing and takes no parameters. When called the 2. Write a function that converts temperature from Celsius to Fahrenheit using the relationship F = function should print to the screen the message: Welcome to ELET 2300 Weather Advisory 1.8C + 32.0 and returns the converted value to the main program as a real number. That is, the input to the function is the Celsius temperature; and the returned output is a double (Fahrenheit temperature). Write a different function that converts temperature from Fahrenheit to Celsius and returns the converted value to the main program as a real number. That is, the input to the function is the Fahrenheit temperature, and the returned output is a double (Celsius temperature). Use the relationship C = (F-32.0) / 1.8 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!