Back To C++ Basic Index
//program to input two numbers and find their product #include
#include
void main() { int a,b; int product; clrscr(); cout<<"enter value for a"; cin>>a; cout<<"enter value for b"; cin>>b; product=a*b; cout<<"product of a and b is "<