#include <stdio.h>

int main() {
    // Declare variables to store Fahrenheit and Celsius temperatures
    float fahrenheit, celsius;

    // Assign the Fahrenheit temperature to the variable
    fahrenheit = 27.0;

    // Calculate Celsius using the conversion formula C = (F - 32) / 1.8
    celsius = (fahrenheit - 32) / 1.8;

    // Display the result
    printf("%.2f degrees Fahrenheit is equals to %.2f degrees Celsius.\n", fahrenheit, celsius);

    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: