Răspuns :
a+b=80
b:a=7 rest 8⇒b=7a+8
a+7a+8=80
8a=72
a=72:8
a=9
9+b=80
b=80-9
b=71
Verificare : 9+71=80
b:a=7 rest 8⇒b=7a+8
a+7a+8=80
8a=72
a=72:8
a=9
9+b=80
b=80-9
b=71
Verificare : 9+71=80
A+B=80
B:A=7
REST 8
A+7A+8=80
8A=72
A=72:8
A=9 (PRIMUL NUMAR)
9+B=80
B=80-9=71 (AL DOILEA NUMAR)
PROBA: 71+9=80
SUCCES!
B:A=7
REST 8
A+7A+8=80
8A=72
A=72:8
A=9 (PRIMUL NUMAR)
9+B=80
B=80-9=71 (AL DOILEA NUMAR)
PROBA: 71+9=80
SUCCES!