Answer the following questions where div is for finding inte
Answer the following questions where div is for finding integer quotient and mod is for remainder. 28 div 5 =,28 mod 5 = minus26 div 8 =,minus26 mod 8 = 22 div 7 =, 22 mod 7 = minus22 div 6 =, minus22 mod 6 = 27 div 8 =, 27 mod 8 = minus27 div 7 =,minus27 mod 7 = 130658444 mod 101 = 848116458 mod 101 =
Solution
For every integer m there exists a non-zero integer n such that m=qn+r, where q is the quotient, r is the remainder.
i).We have 28=5(5)+3
28 div 5 =5; 28 mod 5 =3
ii).We have -26=8(-4)+(6)
-26 div 8= -4; -26 mod 8 = 6
iii).We have 22=7(3)+(1)
22 div 7= 3; 22 mod 7 = 1
iv).We have -22=6(-4)+(2)
-22 div 6= -4; -22 mod 6 = 2
