Computer Science, asked by rajiniagarwal1988, 7 months ago

To find the remainder after dividing 125 by 4 in computer​

Answers

Answered by saidulnayan781
0

Answer:

1

Explanation:

125/4 = 31.25

here 4 multiplied by  31 is 124

so the remainder is (125 - 124) = 1

you can write a computer program in c language to find the remainder :

#include <stdio.h>

int main()

{

  int a = 125, remainder, devisor= 4;

  remainder = a % devisor;

  printf("\n remainder: %d",remainder);

  return 0;

}

Similar questions