question archive This is C++ 1 ) Create a array of Fahrenheit temperatures, as follows int fahr []= {0,1,2,3,4,5,6,7,8,9,10,32,33,34,35,36,37,38,39,40}; 2) Create a function convertFarh(int fahr) that converts Fahr to Celsius, a function such as you did in class, outside of main(), above it

This is C++ 1 ) Create a array of Fahrenheit temperatures, as follows int fahr []= {0,1,2,3,4,5,6,7,8,9,10,32,33,34,35,36,37,38,39,40}; 2) Create a function convertFarh(int fahr) that converts Fahr to Celsius, a function such as you did in class, outside of main(), above it

Subject:Computer SciencePrice:4.86 Bought8

This is C++

1 ) Create a array of Fahrenheit temperatures, as follows

int fahr []= {0,1,2,3,4,5,6,7,8,9,10,32,33,34,35,36,37,38,39,40};

2) Create a function convertFarh(int fahr) that converts Fahr to Celsius, a function such as you did in class, outside of main(), above it.

3) Create a loop inside main() function, that prints side by side Fahrenheit temperatures from the array above (in a similar way how you printed an array in class) and Celsius temperature by calling function convert(...) in the loop to get a matching Celsius temperature for each Fahrenheit temperature that you print.

 

Option 1

Low Cost Option
Download this past answer in few clicks

4.86 USD

PURCHASE SOLUTION

Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

rated 5 stars

Purchased 8 times

Completion Status 100%