#include <iostream>
using namespace std;
template <class T1, class T2>
void display(T1 a,T2 b)
{
     cout<<"\n\n Integer("<<a<<") * Float("<<b<<") = "<<a*b;
}
int main()
{
    int x;
    float y;
    cout<<"\n -------------------------------------";
    cout<<"\n      Multiply Two Different Data     ";
    cout<<"\n -------------------------------------";
    cout<<"\n\n Enter the Integer Value : ";
    cin>>x;
    cout<<"\n Enter the Float Point Value : ";
    cin>>y;
    display(x,y);
    cout<<"\n\n";
    return 0;
}

Embed on website

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