#include <iostream>
using namespace std; 
inline float mul(float x, float y)
{return (x*y);}
inline double div (double p, double q)
{return (p/q);}
int main (){
    float a=12.345;
    float b=9.82;
    cout <<mul (a, b)<<endl; 
    cout <<div (a, b)<<endl;
return 0;
}

Embed on website

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