Program to display multiplication between two numbers in C++
Program to display multiplication between two numbers in C++
It is a simple program which perform multiplication between two numbers
Program :-
#include<iostream.h>
void main ()
{
int a,b,mul;
cout<<"Enter the value of first no :-";
cin>>a;
cout<<"Enter the value of second no :-";
cin>>b;
mul=a-b;
cout<<"The value of two numbers"<<mul<<;
}
Output :-
It is a simple program which perform multiplication between two numbers
Program :-
#include<iostream.h>
void main ()
{
int a,b,mul;
cout<<"Enter the value of first no :-";
cin>>a;
cout<<"Enter the value of second no :-";
cin>>b;
mul=a-b;
cout<<"The value of two numbers"<<mul<<;
}
Output :-
Enter the value of first no :- 3
Enter the value of second no :-3
The value of two numbers :- 9
Enter the value of second no :-3
The value of two numbers :- 9
Comments
Post a Comment