Tuesday, 10 July 2018

Product Of Two Number in C++


Information Of This program Product Of two Number:-

Product Of Two Number in C++ First of all in this program C++ Program Product two number start the header file include iostream then start the main function then the three variable declared the a,b,c the assign the value of a and assign the value of b the store the result in c variable then cout the result in screen

CODE:-

#include<iostream>

using namespace std;

int main()

{

int a,b,c;


a=10;


b=10;


c=a*b;


cout<<"Product Of two number:"<<c;


}

OUTPUT:-

Product Of two number:100

No comments:

Post a Comment

Thanks for comment