Вы имеете в виду, как рассчитать сумму каждой цифры?
Пример кода выглядит следующим образом.
https://play.golang.org/p/Wht4jgELnTI
Do you mean how to calculate sum of the each digit?
The sample code is as follows.
https://play.golang.org/p/Wht4jgELnTI
2019年12月9日(月) 17:40 Vital Nabokov :
>
On Wed, Dec 4, 2019 at 2:49 PM Vital Nabokov wrote:
>
> Добрый день.
> Задача: №1 Дано число int 324. Как получить int 9?
> Задача: №2 Дано число string "324". Как получить int 9?
This mailing list is in English:
https://groups.google.com/forum/#!aboutgroup/golang-nuts
Please use the mailing lis
Добрый день.
Задача: №1 Дано число int 324. Как получить int 9?
Задача: №2 Дано число string "324". Как получить int 9?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an ema