Wednesday, July 29, 2020

Write a program to multiplication of two number in C++.

Multiplication of two number in C++.


#include<iostream>
using namespace std;
int main()
{
int a,b,mul;
cout<<"Enter the First number\n";
cin>>a;
cout<<"Enter the Second number\n";
cin>>b;
mul=a*b;
cout<<"Multiply by two number "<<mul;
return 0;
}

OUTPUT

Enter the First number
34
Enter the Second number
2
Multiply by two number 68

No comments:

Post a Comment

Please do not any spam link in Comment Box