Challenge: Convert the Temperature from Fahrenheit to Centigrade

Write code to convert the value of the temperature from Fahrenheit to Centigrade.

Assume a suitable value for the temperature of a city in Fahrenheit degrees. Write code to convert it into Centigrade:

  • Input: A temperature value in Fahrenheit farh.

  • Output: A temperature value in Centigrade degrees.

Get hands-on with 1400+ tech skills courses.