Education for ALL
Pages
C
C++
MP
NM
CG
COA
CN
DBMS
Crypto
IP
SE
SPM
DSA
OS
MC
C++ program to read two numbers and display their product
#include <iostream>
using namespace std;
int main()
{
int a,b,p;
cout<<"Enter two numbers: "<<endl;
cin>>a>>b;
p=a*b;
cout<<"Their product is "<<p;
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment