Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


You can use % operator to get the remainder...
Ex.you have a number 39/11 in order to get the remainder do it like this.
int num1=39,int num2 = 11;
remainder = num1%num2;
printf("Remainder:" remainder);

0 0 0
Basically we call (%) this symbol as modulo. Modulo is the only way to get the remainder result. Have a happy schooling. :)
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts