function celsius = fahrenheit_to_celsius(fahrenheit)
    % Formula for Fahrenheit to Celsius conversion
    celsius = 5/9 * (fahrenheit - 32);

    % Display the result using fprintf
    fprintf('%.2f degrees Fahrenheit is equal to %.2f degrees Celsius.\n', fahrenheit, celsius);
end

Embed on website

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