* Write a Program and Algorithm to find the Multiply of two Number by using C++ Language.
Algorithm :
- Start
- Read the value of num1 ,num2 and Mul.
- Enter the value of num1.
- Enter the value of num2.
- Calculation, Mul=num1*num2;
- Print the value of Multiply of two number "Mul".
- Stop.
Program :
#include<iostream.h>
#include<conio.h>
int main()
{
// Technical Adda (https://mrpankajcse.blogspot.com/)
int num1,num2,Mul;
clrscr();
cout<< "Enter the value of number 1 and number 2";
cin>>a>>b;
Mul=num1*num2;
cout<< " Multiply of two number :: "<<Mul;
return 0;
}
output
Enter the value of number 1 and number 2 = 10 ↲
20 ↲
Multiply of two number :: 200
No comments:
Post a Comment