TCS
Company
m,n divided by 6 gives remainder 2 and 3 respectively where m>n.When m-n divided by 6 gives what remainder?
Read Solution (Total 5)
-
- m=6p+2
n=6q+3
m-n=6(p-q)-1
6-1=5
ans:5 - 11 years agoHelpfull: Yes(14) No(0)
- m=6*k1+2
n=6*k2+3
m-n=6*(k1-k2)-1= 6*k-1 (where k=k1-k2)
therefore, m-n=6*(k-1)+(6-1)
Quotient=6*(k1-k2-1)
Remainder =6-1=5 - 11 years agoHelpfull: Yes(2) No(0)
- take m=14,n=9;then m-n=5 so remainder 5
- 11 years agoHelpfull: Yes(1) No(2)
- ansr is 5
bcz..
when m=8 and n=3
so m%6=2 nd n%6=3...so diffrn(m-n) is 5 - 11 years agoHelpfull: Yes(1) No(0)
- 5
- 11 years agoHelpfull: Yes(0) No(0)
TCS Other Question