11.c++ program to multiply two numbers

 

// C++ program to multiply two numbers

INPUT:

#include<iostream>
using namespace std;
int main()
{
    float a,b,c;

    cout<<"\n Enter a first value  : ";
    cin>>a;

    cout<<"\n Enter a second value : ";
    cin>>b;

    c = a * b;

    cout<<"\n"<<" Product = "<<c<<endl;

    return 0;
}

OUTPUT:



Comments