a+b+c = 1 002
a+b = 2×c
a-b = c
inlocuim in prima ecuatie pe a+b cu 2×c
2×c+c = 1 002
3×c = 1 002
c = 1 002 : 3
c = 334
a+b = 2×334 = 668
a-b = 334
adunam ultimele 2 ecuatii =>
=> 2×a = 668+334
2×a = 1 002
a = 1002:2
a = 501
b = 668-501
b = 167
Verificare:
501+167+334 = 1 002
a = 501
b = 167
c = 334