(in cazul in care datele problemei nu sunt gresite)
Rezolvare:
(a+b)/2 = 19 => a+b = 19/2
(a+c)/2 = 20 => a+c = 10
(b+c)/2 = 20 => b+c = 10 (adunam ultimile 2 egalitati)
-----------------
a+b+2c = 40 => 19/2 +2c = 40 => 2c = 61/2 => c = 61/4 => c = 15,25
a = 10 - c => a = 10 -15.25 => c = -5.25
b = 10 - c => b = 10 - 15.25 => b = -5.25
b= c sunt cele mai mici numere