write a c program to find reminder and quotient if one number
is divided by other.to code this program don't use more than 2
variables
Answers were Sorted based on User's Feedback
Answer / juli
void main()
{
int n,d;
printf("Enter two no");
scanf("%d%d",&n,&d);
printf("%d",(n%d));
printf("\t%d",n/d);
}
Is This Answer Correct ? | 11 Yes | 0 No |
What is wrong with this statement? Myname = 'robin';
what is diffrence between string and character array?
What do you mean by c?
What is binary tree in c?
Do you know the difference between exit() and _exit() function in c?
How can you tell whether two strings are the same?
How can I write functions that take a variable number of arguments?
How does struct work in c?
where are auto variables stored? What are the characteristics of an auto variable?
Difference between Shallow copy and Deep copy?
Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?
What is the purpose of sprintf?