Education for ALL
Pages
DL
MP
MC
COA
ES
NM
CG
OS
IP
DC
CN
CNS
Cryptography
C
C++
DSA
DBMS
SAD
SE
SPM
IoT
Blockchain
DS
AI
ML
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