Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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



write a c program to find reminder and quotient if one number is divided by other.to code this pro..

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

write a c program to find reminder and quotient if one number is divided by other.to code this pro..

Answer / aravindan

first no:1
second no:2
ans:1 0

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More C Interview Questions

What is #line used for?

0 Answers  


What is the use of the function in c?

0 Answers  


Explain built-in function?

0 Answers  


Write a program to print factorial of given number using recursion?

0 Answers  


Distinguish between actual and formal arguments.

0 Answers  






with out using main how to execute the program?

2 Answers  


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

0 Answers   Microsoft,


What are local and global variables?

3 Answers  


Explain what math functions are available for integers? For floating point?

0 Answers  


What is double pointer in c?

0 Answers  


what is the difference between. system call and library function?

2 Answers   CDAC, Satyam,


define switch statement?

6 Answers   CTS,






Categories