18.12.2016, 08:23
ich habs:
Hund = x, Katze = y, Maus = z
3 Bedingungen:
x+y+z=100
15 * x + 1 * y + z * 0.25 = 100
x y und z sind ganze zahlen, also beim formel auflösen keine brüche!
Ergebnis: 3 Hunde, 41 Katzen, 56 Mäuse
Hund = x, Katze = y, Maus = z
3 Bedingungen:
x+y+z=100
15 * x + 1 * y + z * 0.25 = 100
x y und z sind ganze zahlen, also beim formel auflösen keine brüche!
Ergebnis: 3 Hunde, 41 Katzen, 56 Mäuse