Question: Please answer in C++ ... Thank you. 1. Write a program that converts fahrenheit temperatures to celcius temperatures. Look up the current weather forecast in

Please answer in C++ ... Thank you.

1. Write a program that converts fahrenheit temperatures to celcius temperatures. Look up the current weather forecast in Seattle and grab the daily high and low temperature estimates for the next week (14 values). Put these values into an array (Don't use links). Make sure these are fahrenheit measurements. Then write a program that converts each one of these values to a celcius measurement and prints it out to the console on a single line as a comma-separated list of numbers.

Note: Yes, you may use a loop if you would like to make the code easier to write.

Sample Output:

> 9, 5, 10, 4, 11, 3, ...

2. Write a program which uses the quadratic formula to find the roots of a quadratic equation. A quadratic equation is of the form ax2 + bx + c = 0. Prompt the user to input values for a, b, and c and then print out the roots to the console

Sample Output:

> Enter a value for 'a': <> > Enter a value for 'b': <> > Enter a value for 'c': <> > Roots are <> and <>

Please answer in C++ ... Thank you.

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!