#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()
}
I guess you meant 'without multiplication operator'.
Try to use this: a*b = exp (ln (a) + ln(b))
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call
int main() { int a=10,b=20; while(a--) b++; printf("%d",b); } or: a -= -b;
It is very easy. The program begins here..... /*Program to sum and print numbers without creating variables*/ #include<stdio.h> 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..........
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.
There is no product key for GM Password Hacker V2.8.9. This is because you need to purchase your own copy of the program in order to get the product key. Copying passwords without purchasing them is illegal.
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
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call
They are two large numbers, without any operator between them.
int main() { int a=10,b=20; while(a--) b++; printf("%d",b); } or: a -= -b;
int divide1(int a,int b) { int t=1; while(b*t<=a) { t++; } return t-1; }
It is two (or more) numbers which have been concatenated (run into one another without ant operator).
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
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.
It is very easy. The program begins here..... /*Program to sum and print numbers without creating variables*/ #include<stdio.h> 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..........
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.
15,625 x 64
15625 x 64 = 1000000