Question: In C# Please help,confused Test 2 Same temperature public static bool Test2(double fahrenheit, double celsius) Given two doubles, fahrenheit and celsius, determine if they are

In C# Please help,confused

Test 2 Same temperature

public static bool Test2(double fahrenheit, double celsius)

Given two doubles, fahrenheit and celsius, determine if they are equal temperatures. Before comparing the temperatures, convert them to the same units.

The formula to convert Fahrenheit to Celsius is: Celsius = (fahrenheit - 32.0) * (5.0/9.0)

The formula to convert Celsius to Fahrenheit to Celsius is: Fahrenheit = (celsius * 9.0 / 5.0) + 32.0

You only need to use one of the formulas not both.

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!