👤

Se da un număr din 3 cifre de aflat suma cifrelor date.

Răspuns :

iei un numar x
s= x%10 + [x/10]%10+ [x/100]%10

(pseudocode)