#include <stdio.h>

int main() 
{
    double x = 1.0;
    double y  = 91.44;
    double r = 1.0;
    double l = 2.54;


    printf("%.1fyd = %.1fcm \n", x * 2.1, y * 2.1);
    printf("%.1fin = %.1fcm \n", r * 10.5, l * 10.5);

    return 0;
}

Embed on website

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