#include<iostream.h> #include<conio.h> void main() { clrscr(); int a,b,c; cout<<"\n enter a="; cin>>a; cout<<"\n enter b="; cin>>b; c=a*b; cout<<"\n multiplication="<<c; getch();
}
OUTPUT
enter a=5
enter b=2
multiplication=10
#include<iostream.h> #include<conio.h> void main() { clrscr(); int a,b,c; cout<<"\n enter a="; cin>>a; cout<<"\n enter b="; cin>>b; c=a*b; cout<<"\n multiplication="<<c; getch();
Comments
Post a Comment