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..

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..

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

 Is This Answer Correct ? 1 Yes 4 No

More C Interview Questions

What is #line used for?

What is the use of the function in c?

Explain built-in function?

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

Distinguish between actual and formal arguments.

with out using main how to execute the program?

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.

What are local and global variables?

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

What is double pointer in c?

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

define switch statement?

Categories