Responsive Advertisement
* Write a Program and Algorithm to find the Multiplication of two Number by using C Program.
Algorithm :
Program :
#include<stdio.h>
#include<conio.h>
void main()
{
int num1,num2,Mul;
clrscr();
printf( "Enter the value of number 1 and number 2" );
scanf("%d%d",&num1,&num2);
Mul=num1*num2;
printf( " Multiply of two number :: ",Mul);
getch();
}
output
Enter the value of number 1 and number 2 = 10 ↲
2 ↲
* Write a Program and Algorithm to find the Multiplication of two Number by using C Program.
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 addition of two number "Mul".
- Stop.
Program :
#include<stdio.h>
#include<conio.h>
void main()
{
int num1,num2,Mul;
clrscr();
printf( "Enter the value of number 1 and number 2" );
scanf("%d%d",&num1,&num2);
Mul=num1*num2;
printf( " Multiply of two number :: ",Mul);
getch();
}
output
Enter the value of number 1 and number 2 = 10 ↲
2 ↲
Sum of two number :: 20
No comments:
Post a Comment