![]() I understand the concept, but this can really confuse some people such as myself, because logically this does not make sense at all. ![]() So if we know what fahrenheit is then shouldn’t we calculate for celsius and not fahrenheit again.Īnd the solution should say “celsius” instead of fahrenheit because the equation being used is for calculating fahrenheit in the case that celsius is defined. Therefore, the “algorithm” to calculate celsius is C = F - 32 *5/9. In the previous paragraph, they state how to calculate fahrenheit, “algorithm to convert from Celsius to Fahrenheit is the temperature in Celsius times 9/5, plus 32”. Why are we taking the known variable fahrenheit(but it’s suppose to be unknown hence the challenge to convert celsius to fahrenheit) and using the equation, to calculate fahrenheit, to calculate for fahrenheit when we already know what fahrenheit is. ![]() The answer to this challenge is not completely correct, to me, unless someone can explain that it is correct. So, the wording should be switched here to say “celsius is already defined” because the title of the challenge is to convert celsius to fahrenheit and not fahrenheit to celsius. However, the equation to calculate for celsius is not F*9, F/5, and +32 (as suggested by the solution above). The last paragraph where it says “variable fahrenheit already defined” to me states that in this case we are suppose to use the variable fahrenheit and calculate for celsius. Use the variable fahrenheit already defined and apply the algorithm to assign it the corresponding temperature in Fahrenheit." You are given a variable celsius representing a temperature in Celsius. The algorithm to convert from Celsius to Fahrenheit is the temperature in Celsius times 9/5, plus 32. Place your code between the indicated lines and it will be tested against multiple test cases. "To test your learning, you will create a solution “from scratch”. But the answer to the Challenge is not completely correct. They want us to convert Celsius to Fahrenheit. I think the wording of this challenge is very confusing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |