Makahanap ng mga solusyon at sagot sa lahat ng iyong katanungan sa IDNStudy.com. Hanapin ang mga solusyong kailangan mo nang mabilis at tiyak sa tulong ng aming mga bihasang miyembro.

how to define a remainder using programming?



Sagot :

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);