#include <stdio.h>

int main()
{
    float principle=1200, time=2, rate=5.4 , SI;
 
 
    /* Calculate simple interest */
    SI = (principle * time * rate) / 100;

    /* Print the resultant value of SI */
    printf("Simple Interest = %f", SI);

    return 0;
}

Embed on website

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