#include <stdio.h>

int main() 
{
    int a;
    double b;
    a = 50;
    b = 100.12;
    printf("%.2f * %d = %.0f \n", b, a, b*a);
    return 0;
}

Embed on website

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