answersLogoWhite

0


Best Answer

int n,m,rem;

...

n=76;

m=19;

rem=n%m;

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program for remainder of two numbers in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Program in 'c' to find the LCM of any given five numbers?

Just write a method or function that calculates the LCM for two numbers at a time. Then calculate the LCM for the first two numbers, get the LCM of the result with the third number, etc.Just write a method or function that calculates the LCM for two numbers at a time. Then calculate the LCM for the first two numbers, get the LCM of the result with the third number, etc.Just write a method or function that calculates the LCM for two numbers at a time. Then calculate the LCM for the first two numbers, get the LCM of the result with the third number, etc.Just write a method or function that calculates the LCM for two numbers at a time. Then calculate the LCM for the first two numbers, get the LCM of the result with the third number, etc.


Write a program to add two numbers using oop?

#include<iostream.h> #include<conio.h> void main() { int a, b, c; clrscr(); cout<<"enter the two numbers"; cin>>a; cin>b; c=a+b; cout<<"Addition of two numbers="<<c; getch(); }


Write c sharp program to find sum of two numbers?

public int findSum(int n1, int n2) { return n1 + n2; }


How do you write a cpp program to multiply two numbers?

#include<iostream> int main() { std::cout << "Enter two numbers: "; double a, b; std::cin >> a >> b; // note: error handling omitted for brevity! std::cout <<"The product of " << a << " and " << b << " is " << a*b << '\n'; }


Write a program to calculate the sum of two numbers in unix?

$vi sum.sh echo "enter the 1st no." read num1 echo "enter the 2nd no." read num2 sum= 'expr $num1 + $num2' echo "sum of the numbers is $sum"

Related questions

Write a program to add two 8 bit numbers in microprocessor 8051?

write it in 8085


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


Write an assembly language program to multiply two BCD numbers?

fish


Shell program for gcd of three given numbers?

write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html


Write a programme for substraction of two numbers in c language?

substracion of any two number program in c


Write a program to find the product of two numbers using Halving and Doubling method?

i need this answer


How to write a C program for left factoring?

Name two variables x and y. Divide the largest by smallest. If remainder is zero then the smallest is the HCF.


How do you write a program to print numbers from star one and next line star two in php?

Try the triangle program on a search engine. Replace numbers with stars and that should do the trick


What numbers are common multiples of both numbers?

They are numbers that each of the two numbers can divide without remainder.


What is the definition of to divide evenly?

In math it means when you divide two numbers, there is no remainder or there is a remainder of zero.


How do you write a program in c for left factoring?

Store both the number in two variable X and Y. Divide X by Y. If remainder is zero then Y is HCF.


Write a C program to find the square of two numbers?

Please visit http://talentsealed.blogspot.com/2009/10/to-find-sqaure-of-numbers-using-c.htmlfor the answer.