Multiple 2 number in C++ by R4R Team

First number n1=10
Second number n2=20
Multiplication is 200


using namespace std;
int main()
int a, b, c;
cout << "Enter two numbersn";
cin >> a >> b;
c = a*b;
cout <<"Multiplication is: " << c;


Enter two numbers
3 5
Multiplication is: 15

-In this program, we store two number in variable 'a' and 'b' then multiple a and b and store in variable 'c'. then display using cout.

Leave a Comment:
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!