(Solved) : Write C Program Ask User Enter 7 Temperatures Fahrenheit Convert 7 Temperatures Celsius Pr Q42751779 . . .

Write a C# program that will ask the user to enter 7temperatures in Fahrenheit, convert them to 7

temperatures in Celsius, and then print a table of 7temperatures from Fahrenheit to Celsius. The

temperature conversion formulas are as follows:

Ол Te = (T 1 – 32) and Tf={Te +32

Please define 3 arrays (of size 7 for each array) fortemperature F, temperature C, and string for temperature C.

double[] tf = new double[7]; // temperature F

double[] tc = new double[7]; // temperature C

string[] stc = new string[7]; // string output

Please use the following method to display Celsius temperaturewith only one digit after the decimal point.

stc[i] = tc[i].ToString(“F1”); // 1 digit after decimalpoint

You must test your program 3 times with 3 sets of differentinput values.

The input of your

test case #1

must be 32, 50, 68, 77, 95, 100, and 212.

The output of your

test case #1

must look like as follows (including all those data values):

degree F degree C

====== =======

32 0.0

50 10.0

68 20.0

77 25.0

95 35.0

100 37.8

212 100.0

Ол Te = (T 1 – 32) and Tf={Te +32 Show transcribed image text Ол Te = (T 1 – 32) and Tf={Te +32

Expert Answer


Answer to Write a C# program that will ask the user to enter 7 temperatures in Fahrenheit, convert them to 7 temperatures in Celsi…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?