👤
Maria381395
a fost răspuns

convertiți în c ++

citeşte x {x natural}

nr⬅️0

s⬅️0

┌cât timp x≠0 executã

│ nr⬅️nr+1

│ ┌dacã nr%2=0 atunci

│ │ s⬅️s+x%10

│ └■

│ citeşte x

└■

scrie s,nr​