C Program to Find The Product Of Two Numbers Without Multiplication Operator.

How to write a C Program to find the product of two numbers without Multiplication Operator in C Programming Language ?

Solution for C Program: 

/*C Program to Find The Product Of Two Numbers Without Multiplication Operator.*/
#include<stdio.h>
void main()
{
int x, y, I, sum;
printf("\nEnter any two numbers : ");
scanf("%d%d", &x, &y);
I = 1;
sum = 0;
while(I <= y)
{
sum += x;
I++;
}
printf("\nThe Product of %d and %d is %d.", x, y, sum);
}

You may also learn these C Program/Code :

C Program To Swap Two Numbers Without Using Third Variable


Learn More :