write a c programs to do multiplication of two numbers with
out using arithmatic operator ??????????
Answer Posted / vignesh1988i
#include<stdio.h>
#include<conio.h>
void main()
{
int m,n,result=0;
printf("enter the value of m & n");
scanf("%d%d",&m,&n);
for(int i=1;i<=n;i++)
result=result+m;
printf("\n%d * %d =%d",m,n,result);
getch();
}
| Is This Answer Correct ? | 34 Yes | 59 No |
Post New Answer View All Answers
can any one provide me the notes of data structure for ignou cs-62 paper
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
Is c call by value?
Explain how can you tell whether two strings are the same?
What does it mean when the linker says that _end is undefined?
How can I sort a linked list?
List a few unconditional control statement in c.
program to convert a integer to string in c language'
Why c is known as a mother language?
Why we write conio h in c?
what are bit fields in c?
In a switch statement, what will happen if a break statement is omitted?
C program to find all possible outcomes of a dice?
What does sizeof int return?
When is a “switch” statement preferable over an “if” statement?