B/A= [(10^10 + 1)/(10^11 + 1)]/[(10^11 - 1)/(10^12 - 1)]
= [(10^12 - 1).(10^10 + 1)]/[(10^11 - 1).(10^11 + 1)]
= [(10^22 - 1) + (10^12 - 10^10) ]/((10^22 - 1)
= 1 + (10^12 - 10^10)/(10^22 - 1) > 1
=> B > A
A=10^11-1/10^12-1 < B=10^10+1/10^11=1.
B/A= [(10^10 + 1)/(10^11 + 1)]/[(10^11 - 1)/(10^12 - 1)]
= [(10^12 - 1).(10^10 + 1)]/[(10^11 - 1).(10^11 + 1)]
= [(10^22 - 1) + (10^12 - 10^10) ]/((10^22 - 1)
= 1 + (10^12 - 10^10)/(10^22 - 1) > 1
=> B > A