answersLogoWhite

0


Best Answer

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,multi;

clrscr();

printf("enter a value for a and b");

scanf("%d%d",&a,&b);

multi=a*b;

printf("the result is %d", multi);

getch()

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

I guess you meant 'without multiplication operator'.

Try to use this: a*b = exp (ln (a) + ln(b))

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c program to find the product of two numbers without using operator?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you perform multiplication of two numbers without using the multiplication operator?

By using repeated addition. Consider two numbers a and b. If you want to find a*b then you can add the numbers repeatedly in a loop to get the product. Eg:product = a;for( i=1; i


How a program in c that will add 2 numbers without using any operator?

Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call


What is 5614148565285614 514514581451451454?

They are two large numbers, without any operator between them.


How a program in c that will add 2 numbers without using any plus operator?

int main() { int a=10,b=20; while(a--) b++; printf("%d",b); } or: a -= -b;


Write a program to divide 2 numbers without using the division operator?

int divide1(int a,int b) { int t=1; while(b*t&lt;=a) { t++; } return t-1; }


What is 329.99399.99?

It is two (or more) numbers which have been concatenated (run into one another without ant operator).


2.43 2.43 plus 2.43 7.57 2 plus 7.57 7.57?

some of those numbers are just chilling and not sure what they are doing without an operator... 2.43+2.43 = 4.86 2 + 7.57 = 9.57 i only did the numbers with an operator


How do you find the product of two numbers when both positive?

Find the product of their absolute values (without regard for their signs) and then label the product positive. The process is exactly the same if both numbers are negative.


How can you accept sum and print numbers without creating variables?

It is very easy. The program begins here..... /*Program to sum and print numbers without creating variables*/ #include&lt;stdio.h&gt; main() { clrscr(); printf("%d+%d=%d",5,2,5+2); getch(); } /*Program ends here*/ Now just by changing the numbers in the "printf" statement we can add, subtract, multiply and divide the numbers without using variables. Hence the problem is solved..........


How do you compare two numbers without using any operators in c?

You cannot compare 2 numbers without using relational operators. Certainly, you could subtract them, but you still need to test the result, and that is a relational operator in itself.


What two numbers without zero when multiplied gives a product of 1000000?

15,625 x 64


What are two numbers that can be multiplied to get a product of 1000000 without zeros?

15625 x 64 = 1000000