Westonci.ca offers fast, accurate answers to your questions. Join our community and get the insights you need now. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

Scrieți un program care citește un număr natural n și determină suma cifrelor divizibile cu 3 ale lui n.

Date de intrare
Programul citește de la tastatură numărul n.

Date de ieșire
Programul va afișa pe ecran, c, suma cifrelor divizibile cu 3 ale lui n,
Exemplu
Intrare

7360914
Ieșire

18